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 error message when a non-number follows \c in a qq string literal in Rakudo #2365

Closed
p6rt opened this issue Feb 11, 2011 · 6 comments
Closed

Comments

@p6rt
Copy link

p6rt commented Feb 11, 2011

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

Searchable as RT83952$

@p6rt
Copy link
Author

p6rt commented Feb 11, 2011

From @masak

<takadonet> rakudo​: my $ya = "\cIa"
<p6eval> rakudo : OUTPUT«===SORRY!===␤Method 'panic' not found for
invocant of class 'Regex;Match'␤»
<takadonet> ???
<moritz__> internal error during error reporting
* masak submits rakudobug
<masak> rakudo​: "\cI"
<p6eval> rakudo : OUTPUT«===SORRY!===␤Method 'panic' not found for
invocant of class 'Regex;Match'␤»

@p6rt
Copy link
Author

p6rt commented Feb 11, 2011

From @masak

On Fri Feb 11 11​:42​:36 2011, masak wrote​:

<takadonet> rakudo​: my $ya = "\cIa"
<p6eval> rakudo : OUTPUT«===SORRY!===␤Method 'panic' not found for
invocant of class 'Regex;Match'␤»
<takadonet> ???
<moritz__> internal error during error reporting
* masak submits rakudobug
<masak> rakudo​: "\cI"
<p6eval> rakudo : OUTPUT«===SORRY!===␤Method 'panic' not found for
invocant of class 'Regex;Match'␤»

<moritz__> nqp​: "\cla"
<p6eval> nqp​: OUTPUT«Unrecognized \c character at line 1, near
"la\""␤current instr.​: 'parrot;HLL;Grammar;panic' pc 635
(src/cheats/hll-compiler.pir​:206)␤»
<moritz__> that's the error I'd expect
<moritz__> what's weird is that rakudo doesn't override <charspec> (the
routine that throws this error)
* masak adds that to the ticket

@p6rt
Copy link
Author

p6rt commented Feb 11, 2011

From [Unknown Contact. See original ticket]

On Fri Feb 11 11​:42​:36 2011, masak wrote​:

<takadonet> rakudo​: my $ya = "\cIa"
<p6eval> rakudo : OUTPUT«===SORRY!===␤Method 'panic' not found for
invocant of class 'Regex;Match'␤»
<takadonet> ???
<moritz__> internal error during error reporting
* masak submits rakudobug
<masak> rakudo​: "\cI"
<p6eval> rakudo : OUTPUT«===SORRY!===␤Method 'panic' not found for
invocant of class 'Regex;Match'␤»

<moritz__> nqp​: "\cla"
<p6eval> nqp​: OUTPUT«Unrecognized \c character at line 1, near
"la\""␤current instr.​: 'parrot;HLL;Grammar;panic' pc 635
(src/cheats/hll-compiler.pir​:206)␤»
<moritz__> that's the error I'd expect
<moritz__> what's weird is that rakudo doesn't override <charspec> (the
routine that throws this error)
* masak adds that to the ticket

@p6rt
Copy link
Author

p6rt commented Feb 11, 2011

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

@p6rt
Copy link
Author

p6rt commented Jan 13, 2014

From @coke

On Fri Feb 11 11​:42​:36 2011, masak wrote​:

<takadonet> rakudo​: my $ya = "\cIa"
<p6eval> rakudo : OUTPUT«===SORRY!===␤Method 'panic' not found for
invocant of class 'Regex;Match'␤»
<takadonet> ???
<moritz__> internal error during error reporting
* masak submits rakudobug
<masak> rakudo​: "\cI"
<p6eval> rakudo : OUTPUT«===SORRY!===␤Method 'panic' not found for
invocant of class 'Regex;Match'␤»

Has been fixed for a while; test added to S02-literals/quoting.t

--
Will "Coke" Coleda

@p6rt
Copy link
Author

p6rt commented Jan 13, 2014

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