Details
-
Technical task
-
Resolution: Unresolved
-
P2: Important
-
None
Description
We often have union types that are either undefined or the proper type. When calling SetLookup with such a thing we can easily runtime check for undefined. If the value is undefined we either throw an exception or reset the property, depending on whether the property is resettable.
With such a thing in place we can also support a straight assignment of undefined to a resettable property.