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

method form of eval is lexically challenged #2933

Closed
p6rt opened this issue Oct 18, 2012 · 6 comments
Closed

method form of eval is lexically challenged #2933

p6rt opened this issue Oct 18, 2012 · 6 comments

Comments

@p6rt
Copy link

p6rt commented Oct 18, 2012

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

Searchable as RT115344$

@p6rt
Copy link
Author

p6rt commented Oct 18, 2012

From @edwinst

While this works perfectly​:

$ ./perl6

my $x = '1'; eval '$x'
1

The method form does not​:

$ ./perl6

my $x = '1'; '$x'.eval
Variable $x is not declared

$ ./perl6 --version
This is perl6 version 2012.09.1-57-g27a6b84 built on parrot 4.4.0 revision RELEASE_4_4_0

@p6rt
Copy link
Author

p6rt commented Oct 18, 2012

From @jnthn

On Thu Oct 18 11​:28​:39 2012, esteiner wrote​:

While this works perfectly​:

$ ./perl6

my $x = '1'; eval '$x'
1

The method form does not​:

$ ./perl6

my $x = '1'; '$x'.eval
Variable $x is not declared

Does now​:

my $x = '1'; '$x'.eval
1

Tagging testneeded.

/jnthn

@p6rt
Copy link
Author

p6rt commented Oct 18, 2012

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

@p6rt
Copy link
Author

p6rt commented Oct 18, 2012

From sohtil@gmail.com

spectest added​:

commit 6d78c06d948179a75b656a220521169f193771b3
Author​: Edwin Steiner <edwin.steiner@​gmx.net>
Date​: Thu Oct 18 20​:53​:56 2012 +0200

  Added spectest for #​115344​: [BUG] method form of eval is lexically challenged

diff --git a/S29-context/eval.t b/S29-context/eval.t

@p6rt
Copy link
Author

p6rt commented Oct 18, 2012

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

@p6rt p6rt closed this as completed Oct 18, 2012
@p6rt
Copy link
Author

p6rt commented Oct 18, 2012

From @coke

On Thu Oct 18 12​:01​:02 2012, lithos wrote​:

spectest added​:

commit 6d78c06d948179a75b656a220521169f193771b3
Author​: Edwin Steiner <edwin.steiner@​gmx.net>
Date​: Thu Oct 18 20​:53​:56 2012 +0200

Added spectest for #&#8203;115344&#8203;: \[BUG\] method form of eval is lexically

challenged

diff --git a/S29-context/eval.t b/S29-context/eval.t

Closing ticket.

--
Will "Coke" Coleda

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