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

Cannot spread variables on multiple lines #5575

Closed
p6rt opened this issue Aug 17, 2016 · 7 comments
Closed

Cannot spread variables on multiple lines #5575

p6rt opened this issue Aug 17, 2016 · 7 comments

Comments

@p6rt
Copy link

p6rt commented Aug 17, 2016

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

Searchable as RT128973$

@p6rt
Copy link
Author

p6rt commented Aug 17, 2016

From @MARTIMM

Hi,

Found a bug in newest rakudo version 2016.07.1-217-gd6abf8b built on
MoarVM version 2016.07-17-g40948f6 implementing Perl 6.c

This might be a followup after repairing bug #​127933.

my int $j = 0x40;
64
my int $i = 0x40;
64
say "$i, $j";
===SORRY!=== Error while compiling​:
Variable '$i' is not declared
------> say "⏏$i, $j";

The same is found for int and int16.

Simple test using int8 only outside REPL runs ok.

Greetings,
Marcel

@p6rt
Copy link
Author

p6rt commented Aug 17, 2016

From @zoffixznet

The problem is wider. All variables are now broken​:

» my $x = 42;
42
» say $x
===SORRY!=== Error while compiling​:
Variable '$x' is not declared
------» say ⏏$x
»

@p6rt
Copy link
Author

p6rt commented Aug 17, 2016

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

@p6rt
Copy link
Author

p6rt commented Aug 17, 2016

From @zoffixznet

Another note. The RT#​127933 got fixed accidentally when we noticed the TODO for it was passing. Now I suspect that was only because variables stopped being held onto, so when this issue is fixed, the spectest for RT#​127933 will likely need to be fudged again and that ticket reopened/

@p6rt
Copy link
Author

p6rt commented Aug 18, 2016

From @zoffixznet

I re-fudged tests for RT#​127933 and reopened it. That issue is still there.

This issue has been introduced by rakudo/rakudo@be7ce04

I tried to fixed it, but failed. Seems to have something to do with contexts and them behaving differently (?) when in different threads. IRC commentary​: http://irclog.perlgeek.de/perl6-dev/2016-08-18#i_13043723

@p6rt
Copy link
Author

p6rt commented Aug 18, 2016

From @zoffixznet

Fixed by reverting solution to RT#​128900 in rakudo/rakudo@643c0f9

Tests added in Raku/roast@2d3fa1389f

@p6rt
Copy link
Author

p6rt commented Aug 18, 2016

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

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

No branches or pull requests

1 participant