You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Previously opened an issue here trying to understand why when type is explicitly casted in codeblock, I am still getting type errors. It feels more intuitive to dismiss the error if the value is explicitly given.
--!strict-- Example #1typeTestObj= {
model : Model?
}
localobject : TestObj= {
model=nil
}
object.model=Instance.new("Model")
object.model.Parent=workspace-- this line has an error-- Example #2localmodel : Model? =nilmodel=Instance.new("Model")
model.Parent=workspace-- this line has an error
The text was updated successfully, but these errors were encountered:
Previously opened an issue here trying to understand why when type is explicitly casted in codeblock, I am still getting type errors. It feels more intuitive to dismiss the error if the value is explicitly given.
The text was updated successfully, but these errors were encountered: