New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rakudo fails to build AST for subset declaration with regex literal #444
Comments
From rff.rff@gmail.comThe bug is visibile with the following line subset GenderStr of Str where /^[m|f]$/ ; for what I can tell the problem is due to the code to manage .Method 'push' not found for invocant of class 'Perl6;Grammar' Wich seem related to line 3025: where possibly $past[0] is empty. A simple solution is to check that the value passed actually is a Attached is the patch, and my minimal test suite, which should |
From rff.rff@gmail.com |
From @moritzOn Mon Dec 01 13:52:45 2008, rff.rff@gmail.com wrote:
I've added such a test to t/spec/S12-subset/subtypes.t now in (pugs)
I can confirm this, and also that it makes the new tests pass. But I'm Cheers, |
The RT System itself - Status changed from 'new' to 'open' |
From @moritzApplied after review from pmichaud: 21:59 < pmichaud> I looked at the patch for 60976, and while it "feels Tests pass, thanks you very much for your patch. Cheers, |
@moritz - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#60976 (status was 'resolved')
Searchable as RT60976$
The text was updated successfully, but these errors were encountered: