Skip to content
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

failing PRE block should abort execution of all other phasers, doesn't in rakudo-m #3364

Closed
p6rt opened this issue Mar 28, 2014 · 4 comments
Closed
Labels
MoarVM Related to Rakudo-MoarVM

Comments

@p6rt
Copy link

p6rt commented Mar 28, 2014

Migrated from rt.perl.org#121531 (status was 'resolved')

Searchable as RT121531$

@p6rt
Copy link
Author

p6rt commented Mar 28, 2014

From @moritz

This test from S04-phasers/pre-post.t fails on rakudo-moar, but passes
on the two other backends​:

  my $str;
  try {
  {
  PRE { $str ~= '('; 0 }
  PRE { $str ~= '*'; 1 }
  ENTER { $str ~= '[' }
  $str ~= 'x';
  LEAVE { $str ~= ']' }
  POST { $str ~= ')'; 1 }
  }
  }
  is $str, '(', 'failing PRE runs nothing else';

@p6rt
Copy link
Author

p6rt commented Oct 6, 2015

From @jnthn

On Fri Mar 28 13​:06​:48 2014, moritz wrote​:

This test from S04-phasers/pre-post.t fails on rakudo-moar, but passes
on the two other backends​:

my $str;
try \{
    \{
        PRE     \{ $str ~= '\('; 0 \}
        PRE     \{ $str ~= '\*'; 1 \}
        ENTER   \{ $str ~= '\[' \}
        $str ~= 'x';
        LEAVE   \{ $str ~= '\]' \}
        POST    \{ $str ~= '\)'; 1 \}
    \}
\}
is $str, '\(', 'failing PRE runs nothing else';

Fixed, test unfudged.

@p6rt
Copy link
Author

p6rt commented Oct 6, 2015

The RT System itself - Status changed from 'new' to 'open'

@p6rt p6rt closed this as completed Oct 6, 2015
@p6rt
Copy link
Author

p6rt commented Oct 6, 2015

@jnthn - Status changed from 'open' to 'resolved'

@p6rt p6rt added the MoarVM Related to Rakudo-MoarVM label Jan 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
MoarVM Related to Rakudo-MoarVM
Projects
None yet
Development

No branches or pull requests

1 participant