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
As of b098367 the following incorrect code is not rejected anymore, but instead triggers an exception at compile time:
# file: foo.spicymodulefoo;typeC=enum{X,Y,};globalc=C::X();# There is no constructor for `C::X`, instead should directly use the `C::X` literal.
$ spicyc -dj foo.spicylibc++abi: terminating due to uncaught exception of type hilti::node_ref::Invalid: dangling node reference[1] 50453 abort ./bin/spicyc -dj <..>/foo.spicy
Prior to above commit this was rejected with the following
$ spicyc -dj foo.spicy[error] <..>/foo.spicy:5:12: ID 'C::X' resolves to something other than just functions[error] spicyc: aborting after errors
The text was updated successfully, but these errors were encountered:
As of b098367 the following incorrect code is not rejected anymore, but instead triggers an exception at compile time:
Prior to above commit this was rejected with the following
The text was updated successfully, but these errors were encountered: