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
-------- dummy case --------typefoo= {
b: number?
}
localfunctionbaz(a: foo)
ifa.bthenreturnenda.b=5-- number cannot be converted to nilend-------- my case --------functionmod.load(chunk: chunk)
ifchunk.loadedthenreturnendlocalloadedInfo= {parts= {}}
chunk.loaded=loadedInfo-- loadedInfo cannot be converted to nil
it does the same with booleans (true cannot be converted to false)
The text was updated successfully, but these errors were encountered:
aatxe
changed the title
[NEW SOLVER] issue when adding a value to a table if the value is nil (type unioned with nil)
Refining a property unintentionally blocks assignment in that scope.
Dec 16, 2024
it does the same with booleans (true cannot be converted to false)
The text was updated successfully, but these errors were encountered: