Hi,
I just noticed that valac fails to compile anything if
--enable-experimental-non-null is used. Just create empty file
(test.vala) and try to compile it:
$ valac --enable-experimental-non-null test.vala
glib-2.0.vapi:1337.15-1337.24: error: Access to instance member
`string.length' from nullable reference denied
str_size = str.length;
^^^^^^^^^^
glib-2.0.vapi:3045.5-3045.16: error: Access to instance member
`GLib.StringBuilder.append_c' from nullable reference denied
ret.append_c ((char) c);
^^^^^^^^^^^^
glib-2.0.vapi:3050.12-3050.18: error: Access to instance member
`GLib.StringBuilder.str' from nullable reference denied
return ret.str;
^^^^^^^
Compilation failed: 3 error(s), 0 warning(s)
I'd notice this earlier probably, but I've been using hacked version
(reverted commit 849247ce35903d98d3d2839fd4e3cd1f4d6f21b2).
BTW. what's the status of non-null mode? Is it forgotten?
best regards,
--
Mój klucz publiczny o identyfikatorze 1024D/E12C5A4C znajduje się na
serwerze hkp://keys.gnupg.net
My public key with signature 1024D/E12C5A4C is on the server
hkp://keys.gnupg.net
Attachment:
signature.asc
Description: PGP signature