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 in REPL for uninitialized values #2793

Closed
p6rt opened this issue Jun 21, 2012 · 3 comments
Closed

LTA message in REPL for uninitialized values #2793

p6rt opened this issue Jun 21, 2012 · 3 comments
Labels

Comments

@p6rt
Copy link

p6rt commented Jun 21, 2012

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

Searchable as RT113776$

@p6rt
Copy link
Author

p6rt commented Jun 21, 2012

From @pmichaud

  17​:13 <pmichaud> r​: my $undefined; my $x = $undefined ~ '... and so forth'; say $x;
  17​:13 <p6eval> rakudo 65dc80​: OUTPUT«use of uninitialized value of type Any in string context in block <anon> at
  /tmp/2a1kc8mbRW​:1␤␤... and so forth␤»
  17​:13 <pmichaud> the REPL gives me
  17​:13 <pmichaud> use of uninitialized value of type Any in string contextMethod 'message' not found for invocant of class 'Any'
  17​:14 <pmichaud> that "Method 'message' not found for invocant of class 'Any'" seems LTA
  17​:14 <moritz> it means the exception printer was triggered even though there was no exception
  17​:15 <pmichaud> shall I file a rakudobug for it?
  17​:15 <masak> pmichaud​: please do.

Here's exactly what I get in the REPL​:

  pmichaud@​kiwi​:~/p6/rakudo$ ./perl6
  > my $undefined; my $x = $undefined ~ '... and so forth'; say $x
  use of uninitialized value of type Any in string contextMethod 'message' not found for invocant of class 'Any'
  >

Pm

@p6rt
Copy link
Author

p6rt commented Jun 25, 2012

From @moritz

Fixed in 094e41b

@p6rt
Copy link
Author

p6rt commented Jun 25, 2012

@moritz - Status changed from 'new' to 'resolved'

@p6rt p6rt closed this as completed Jun 25, 2012
@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