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

LTA message when splicing into string #2882

Open
p6rt opened this issue Sep 2, 2012 · 5 comments
Open

LTA message when splicing into string #2882

p6rt opened this issue Sep 2, 2012 · 5 comments
Labels

Comments

@p6rt
Copy link

p6rt commented Sep 2, 2012

Migrated from rt.perl.org#114708 (status was 'stalled')

Searchable as RT114708$

@p6rt
Copy link
Author

p6rt commented Sep 2, 2012

From spidermario@free.fr

$ perl6 --version
This is perl6 version 2012.08-63-g1f86d22 built on parrot 4.7.0 revision
RELEASE_4_7_0-165-g29796c6

Code​:


sub test($x) {quasi {"{{{{$x}}}}"}}

Result​:


Error while compiling block : Error while compiling op call​: Error while
compiling block : Error while compiling block test​: Error while compiling
block : Error while compiling block : Unknown QAST node type QAST​::Unquote

@p6rt
Copy link
Author

p6rt commented Sep 3, 2012

From @masak

spider-mario (>)​:

sub test($x) {quasi {"{{{{$x}}}}"}}

Result​:
--------

Error while compiling block : Error while compiling op call​: Error
while
compiling block : Error while compiling block test​: Error while
compiling
block : Error while compiling block : Unknown QAST node type
QAST​::Unquote

Ah, well spotted. Yes, this is a QAST​::Unquote node surviving past its
time in the compilation process. Fixing the error means figuring out why
it does.

@p6rt
Copy link
Author

p6rt commented Sep 3, 2012

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

@p6rt
Copy link
Author

p6rt commented Sep 9, 2015

From @labster

Behavior has changed a little, error message is slightly less LTA​:

% echo 'sub test($x) {quasi {"{{{{$x}}}}"}}' > tmp.p6
% perl6 tmp.p6
===SORRY!===
Unknown QAST node type QAST​::Unquote

On Mon Sep 03 00​:08​:03 2012, masak wrote​:

spider-mario (>)​:

sub test($x) {quasi {"{{{{$x}}}}"}}

Result​:
--------

Error while compiling block : Error while compiling op call​: Error
while
compiling block : Error while compiling block test​: Error while
compiling
block : Error while compiling block : Unknown QAST node type
QAST​::Unquote

Ah, well spotted. Yes, this is a QAST​::Unquote node surviving past its
time in the compilation process. Fixing the error means figuring out why
it does.

@p6rt
Copy link
Author

p6rt commented Dec 1, 2017

@AlexDaniel - Status changed from 'open' to 'stalled'

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

No branches or pull requests

1 participant