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

Twigil missing form error message : Lexical '$a' not found #1850

Closed
p6rt opened this issue Jun 18, 2010 · 5 comments
Closed

Twigil missing form error message : Lexical '$a' not found #1850

p6rt opened this issue Jun 18, 2010 · 5 comments

Comments

@p6rt
Copy link

p6rt commented Jun 18, 2010

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

Searchable as RT75844$

@p6rt
Copy link
Author

p6rt commented Jun 18, 2010

From @cognominal

my @​a=<1 2 3>; @​a>>.map​: ( '(' ~ $^a ~ ')' )
Lexical '$a' not found
my @​a=<1 2 3>; @​a>>.map​: { '(' ~ $^a ~ ')' } # correct program btw
(1) (2) (3)

--
cognominal stef

@p6rt
Copy link
Author

p6rt commented Jul 28, 2010

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

@p6rt
Copy link
Author

p6rt commented Oct 1, 2011

From @coke

On Thu Jun 17 23​:24​:28 2010, cognominal wrote​:

my @​a=<1 2 3>; @​a>>.map​: ( '(' ~ $^a ~ ')' )
Lexical '$a' not found

We've definitely backslid here​:

$ ./perl6

my @​a=<1 2 3>; @​a>>.map​: ( '(' ~ $^a ~ ')' )
Segmentation fault

my @​a=<1 2 3>; @​a>>.map​: { '(' ~ $^a ~ ')' } # correct program btw
(1) (2) (3)

--
Will "Coke" Coleda

@p6rt
Copy link
Author

p6rt commented Oct 1, 2011

From @jnthn

On Fri Sep 30 17​:50​:20 2011, coke wrote​:

On Thu Jun 17 23​:24​:28 2010, cognominal wrote​:

my @​a=<1 2 3>; @​a>>.map​: ( '(' ~ $^a ~ ')' )
Lexical '$a' not found

We've definitely backslid here​:

$ ./perl6

my @​a=<1 2 3>; @​a>>.map​: ( '(' ~ $^a ~ ')' )
Segmentation fault

Fixed.

my @​a=<1 2 3>; @​a>>.map​: ( '(' ~ $^a ~ ')' )
Cannot declare placeholder parameter $^a in the mainline

Thanks,

/jnthn

@p6rt
Copy link
Author

p6rt commented Oct 2, 2011

@moritz - 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