AdeptLanguage / Adept

The Adept Programming Language
GNU General Public License v3.0
119 stars 9 forks source link

Add a compiler switch to force everything to be `undef` #232

Closed ghost closed 9 months ago

ghost commented 9 months ago

--unsafe-new only disables zero-initialization of memory allocated with new. It's not a replacement of undef and I don't want to write undef everywhere.

IsaacShelton commented 9 months ago

Having undef be the default would break the standard library, although it still might be nice as an option/pragma-directive for when not using the standard library. Once I am not busy I will consider trying to add it.

ghost commented 9 months ago

I think this issue is redundant now. I will close it.