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
===SORRY!=== Error while compiling ./x.pl6
An exception occurred while parameterizing Array
at ./x.pl6:1
Exception details:
===SORRY!=== Error while compiling
Cannot invoke this object (REPR: Null; VMNull)
at :
It would be nice if it gave a message similar to when one misspells an
unparameterized type:
Type 'Numerix' is not declared. Did you mean 'Numeric'?
===SORRY!=== Error while compiling ./x.pl6
An exception occurred while parameterizing Array
at ./x.pl6:1
Exception details:
===SORRY!=== Error while compiling
Cannot invoke this object (REPR: Null; VMNull)
at :
It would be nice if it gave a message similar to when one misspells an
unparameterized type:
Type 'Numerix' is not declared. Did you mean 'Numeric'?
You can parameterize on more than types, so the error can't quite be that. But now it's very close:
$ ./perl6-m -e 'my Array[Numerix] $x;'
===SORRY!=== Error while compiling -e
Undeclared name:
Numerix used at line 1. Did you mean 'Numeric'?
Test added to S32-exceptions/misc.t to make sure we don't regress on this in the future.
Migrated from rt.perl.org#128581 (status was 'resolved')
Searchable as RT128581$
The text was updated successfully, but these errors were encountered: