Merge branch 'kill_newcheck'
authorJean Privat <jean@pryen.org>
Tue, 11 Feb 2014 20:55:19 +0000 (15:55 -0500)
committerJean Privat <jean@pryen.org>
Tue, 11 Feb 2014 20:55:19 +0000 (15:55 -0500)
commitb80e39e4c6ce6004edd7d8bbfc2e80d56c71e5cb
treec737ee50fd619c646516d6b057e196bab379b47b
parentf364ed03447fbd408f6e8d544c426d6fb3d0adc7
parent0ab87727e03c3129c92a607da60c8c1ce551f704
Merge branch 'kill_newcheck'

Remove runtime checks on uninitialized attributes at the end of object
constructions.
Thus, uninitialized attributes will now fail (abort) on the first read
access.

Some people [citation needed] find that the current specification force
the usage of `nullable` on attributes that should not be null in
practice but that cannot be not nullable because the initialization is
not done in the constructor.

Some other people [bis] also state that the current check is problematic
with potential exception/longjump since uninitialized object could still
escape.

Therefore, because the next big devel planned is the constructors, I
prefer to solve this specification point before. This pull request is a
RFC on the new spec (and/or implementation).