On Mon, 24 Apr 2017 04:32:33 -0700, alex.jakime...@gmail.com wrote: > Code: > class A { > proto method x { * }; > }; > A.x > > > Result: > Use of uninitialized value of type Any in string context. > Methods .^name, .perl, .gist, or .say can be used to stringify it to > something meaningful. > in block <unit> at -e line 4 > Cannot resolve caller x(A); none of these signatures match: > in block <unit> at -e line 4 > > > > First of all, it says “none of these signatures match:” and then it > prints the line number. There are no signatures, I get it, but the > error message is ugly. > > Also, “Use of uninitialized value of type Any in string context.” does > not seem to be coming from the user code, I guess it happens during > the error message generation, but I could be wrong.
Thank you for the report. jsimonet++ fixed the issue. Fix: https://github.com/rakudo/rakudo/commit/02614f6477 Test: https://github.com/rakudo/rakudo/commit/8e0d000fbb