Skip Menu |
Report information
Id: 128714
Status: new
Priority: 0/
Queue: perl6

Owner: Nobody
Requestors: cpan [at] zoffix.com
Cc:
AdminCc:

Severity: (no value)
Tag: (no value)
Platform: (no value)
Patch Status: (no value)
VM: (no value)



Subject: [LTA] Error when calling .^DEFINITE instead of .DEFINITE
Download (untitled) / with headers
text/plain 1.2k
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 -- Cheers, ZZ | https://twitter.com/zoffix


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

For issues related to this RT instance (aka "perlbug"), please contact perlbug-admin at perl.org