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

Presence of an eval causes internal compiler error #2977

Closed
p6rt opened this issue Nov 17, 2012 · 5 comments
Closed

Presence of an eval causes internal compiler error #2977

p6rt opened this issue Nov 17, 2012 · 5 comments

Comments

@p6rt
Copy link

p6rt commented Nov 17, 2012

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

Searchable as RT115774$

@p6rt
Copy link
Author

p6rt commented Nov 17, 2012

From @moritz

17​:49 < moritz> r​: my int $a; eval('');
17​:49 <+p6eval> rakudo 112307​: OUTPUT«===SORRY!===␤Lexical '$a' is of
wrong register type in lexical lookup␤»

Discovered by Woodi++

@p6rt
Copy link
Author

p6rt commented Jan 30, 2013

From @jnthn

On Sat Nov 17 08​:50​:26 2012, moritz wrote​:

17​:49 < moritz> r​: my int $a; eval('');
17​:49 <+p6eval> rakudo 112307​: OUTPUT«===SORRY!===␤Lexical '$a' is of
wrong register type in lexical lookup␤»

Discovered by Woodi++

Now works just fine​:

my int $a; eval('');
Nil

/jnthn

@p6rt
Copy link
Author

p6rt commented Jan 30, 2013

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

@p6rt
Copy link
Author

p6rt commented Mar 29, 2013

From @coke

On Wed Jan 30 12​:20​:46 2013, jnthn@​jnthn.net wrote​:

On Sat Nov 17 08​:50​:26 2012, moritz wrote​:

17​:49 < moritz> r​: my int $a; eval('');
17​:49 <+p6eval> rakudo 112307​: OUTPUT«===SORRY!===␤Lexical '$a' is of
wrong register type in lexical lookup␤»

Discovered by Woodi++

Now works just fine​:

my int $a; eval('');
Nil

/jnthn

Test added to S29-context/eval.t, closing ticket.
--
Will "Coke" Coleda

@p6rt
Copy link
Author

p6rt commented Mar 29, 2013

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

@p6rt p6rt closed this as completed Mar 29, 2013
@p6rt p6rt added the testneeded label Jan 5, 2020
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