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 dies when Ternary Error occurs #1087
Comments
From amoc.yn@gmail.comat revision: 1b06df80900096dab8a9f74467f504f73a6115dd : bash$ perl6 this is not wrong as infix:<,> has looser precedence than the ternary should provide the proper error message and not die. |
From amoc.yn@gmail.comfrom S03: : It is a syntax error to use an operator in the middle part that binds : my $x; |
From @kylehaBy my reading, it really is an error, not valid code. The infix:<,> is (1 ?? 1),(2 !! 3),4 I agree, however, that this shouldn't die. I've added a test for this in t/spec/S03-operators/ternary.t Thanks. Kyle. On Mon, Jun 22, 2009 at 1:57 AM, Hojung Yoon
|
The RT System itself - Status changed from 'new' to 'open' |
From john@perlwolf.comOn Mon, Jun 22, 2009 at 04:59:07PM +0900, hojung yoon wrote:
This seems like something that is eligible for DWIMery. If the |
From @pmichaudOn Sun Jun 21 23:57:17 2009, amoc wrote:
Now fixed in 5351a33: $ ./perl6 I grant that the error message should be a bit more helpful, but I think Closing ticket, Pm |
@moritz - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#66840 (status was 'resolved')
Searchable as RT66840$
The text was updated successfully, but these errors were encountered: