#type checking does nothing???
1 messages · Page 1 of 1 (latest)
write --!strict on the first line
it will not give a error on output
it will always run
it will just say like "you put a number but this should be a string"
np
ya
1 messages · Page 1 of 1 (latest)
so from what i've read in the documentation, type checking throws an error if a variable isn't the type assigned to it. if that's the case, then why does this not cause any errors?
local var: string = 1
print(var)
-- this prints 1 with no errors
write --!strict on the first line
it will not give a error on output
it will always run
it will just say like "you put a number but this should be a string"
np
ya