Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

typed exceptions: X::Backslash::UnrecognizedSequence, [...]::NonVariableDollar #91

Closed
wants to merge 3 commits into
from

Conversation

Projects
None yet
1 participant
Member

FROGGS commented Nov 26, 2012

rakudo: "\u" was:
Method 'sorry' not found for invocant of class 'Perl6::QGrammar+{qq}+{stop}'

is now as its own type:
Unrecognized backslash sequence: '\u'

There is a x_baskslash NQP branch related to that, should be merged too.
The spectest still passes of course, and I'll add a test for "\u" when this pull request is merged.

Member

FROGGS commented Nov 26, 2012

~/dev/rakudo$ PERL6LIB=t/spec/packages/ install/bin/perl6 -MTest::Util -e "throws_like '"\u"', X::Backslash::UnrecognizedSequence"
ok 1 - '"\u"' died
ok 2 - right exception type (X::Backslash::UnrecognizedSequence)

~/dev/rakudo$ PERL6LIB=t/spec/packages/ install/bin/perl6 -MTest::Util -e "throws_like '"$"', X::Backslash::NonVariableDollar"
ok 1 - '"$"' died
ok 2 - right exception type (X::Backslash::NonVariableDollar)

@FROGGS FROGGS closed this Nov 27, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment