On Sun, 20 Sep 2015 14:00:53 -0700, [email protected] wrote:
> Presumably the "malformed my" error is correct, but the preceding "type
> 'Any' is not declared" is bogus.
It now no longer prints the bogus "type 'Any' is not declared" error, only the
correct "malformed my" error:
➜ my Any⏏ :D $a;
===SORRY!=== Error while compiling:
Malformed my
------> my Any⏏⏏ :D $a;
Bisectable6 reports¹ that it was fixed by a commit² in November 2015.
It should be possible to test in roast that this throws `X::Syntax::Malformed`
and not whatever "type not declared" uses, right?
Marking the ticket TESTNEEDED.
---
[1] https://gist.github.com/Whateverable/ee54f5241e3cb77ea3969ff3481d8d9b
[2] https://github.com/rakudo/rakudo/commit/e1e03e6