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
The "Nothing" type supports the "null" value in addition to the "Instance" value. That's a bug. Please update your programming language to make sure that it doesn't permit null values of this type under normal use. Do not close this issue until you have successfully done this.
Activity
pavel-khritonenko commentedon Mar 7, 2015
It should be struct instead of class
tpetricek commentedon Mar 8, 2015
Right! As things stand, having two possible values, the so-called type "nothing" is actually equivalent to "Boolean"!
Daniel15 commentedon Mar 8, 2015
gregoryyoung commentedon Mar 8, 2015
LOL!
On Sun, Mar 8, 2015 at 8:57 AM, Daniel Lo Nigro notifications@github.com
wrote:
Studying for the Turing test
dsyme commentedon Mar 9, 2015
The proposed fix (also the one adding "sealed") means we can no longer inherit from Nothing.
It seems clear that each and every thing "is a" nothing - maximum flexibility requires an open universe of possibilities (see also #24 (comment)).
Further, inheriting a hidden something from Nothing is a well known tax avoidance strategy in some jurisdictions.