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

Owner: Nobody
Requestors: alex.jakimenko [at] gmail.com
Cc:
AdminCc:

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



Subject: LTA error message when misspelling “method” (meathod bar($test))
From: Aleks-Daniel Jakimenko-Aleksejev <alex.jakimenko [...] gmail.com>
Date: Mon, 14 Nov 2016 03:37:02 +0200
To: rakudobug [...] perl.org
Download (untitled) / with headers
text/plain 418b
Code:
class Foo {
    meathod bar($name) {}
}

Result:
===SORRY!=== Error while compiling -e
Variable '$name' is not declared
at -e:2
------>     meathod bar(⏏$name) {}


The error message is not wrong, but we have at least one case where somebody was struggling to find the actual issue. Perhaps it can be smart enough to figure it out.


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