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
That's not the right answer for what I want Mu:U to do. Actually the
attempt at a definedness constraint is being totally ignored here, as
it also is in "my Mu:U $a" and other places where it's not currently
implemented. Silent ignorance is less than awesome. This should signal
an error, until it's implemented.
-zefram
p6rt
added
the
LTA
Less Than Awesome; typically an error message that could be better
label
Jan 5, 2020
$ ./rakudo-m -e 'say 3.isa(Mu:U)'
False
$ ./rakudo-m -e 'my Mu:U $a; say "alive"; $a = 4'
alive
Type check failed in assignment to $a; expected Mu:U but got Int (4)
in block <unit> at -e line 1
There is a bunch of tests in S04-declarations/smiley.t. (Many of them have been added in October 2015.) I believe this bug report is covered by those tests, so I'm closing it as "resolved" without adding more tests.
Migrated from rt.perl.org#126126 (status was 'new')
Searchable as RT126126$
The text was updated successfully, but these errors were encountered: