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
When I looked at the docs for DEFINITE and saw mention of metamodel, I just assumed I'd need a `.^` method call. An error showed up, but it took me a little to get what the actual problem is,
complicated by my calling that on the implicit $_.
I still have no idea what "non-identifier method call" is. I can only guess it's the .WHAT, .WHO, and ilk. The error message should be improved by using clearer terms and suggesting using a `.` method call.
$ perl6 -e 'class {}.^DEFINITE'
===SORRY!=== Error while compiling -e
Cannot use .^ on a non-identifier method call
at -e:1
------> class {}.^DEFINITE⏏<EOL>
expecting any of:
method arguments
$ perl6 -e 'class {}.^WHAT'
===SORRY!=== Error while compiling -e
Cannot use .^ on a non-identifier method call
at -e:1
------> class {}.^WHAT⏏<EOL>
expecting any of:
method arguments
Migrated from rt.perl.org#128714 (status was 'new')
Searchable as RT128714$
The text was updated successfully, but these errors were encountered: