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

"Use of uninitialized value of type Any in string context" does not report line number #2744

Closed
p6rt opened this issue May 2, 2012 · 5 comments

Comments

@p6rt
Copy link

p6rt commented May 2, 2012

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

Searchable as RT112724$

@p6rt
Copy link
Author

p6rt commented May 2, 2012

From @Siddhant

<sisar> r​: my @​a; @​a[1] = 42; say @​a;
<+p6eval> rakudo 7836d2​: OUTPUT«use of uninitialized value of type Any in
string context in method Str at src/gen/CORE.setting​:670␤␤ 42␤»
<sisar> moritz​: this ^ does not report the line no. Is this bug already
filed ?
<sisar> moritz​: RT #​67808 was a similar bug.
<moritz> sisar​: I'ma aware of it. Not sure if it's in RT

@p6rt
Copy link
Author

p6rt commented May 3, 2012

From @moritz

Now says

$ ./perl6 -e 'my @​a; @​a[1] = 42; say @​a;'
use of uninitialized value of type Any in string context in block
<anon> at -e​:1

42

@p6rt
Copy link
Author

p6rt commented May 3, 2012

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

@p6rt p6rt closed this as completed May 3, 2012
@p6rt
Copy link
Author

p6rt commented May 3, 2012

From @moritz

tested in integration/error-reporting.t

@p6rt
Copy link
Author

p6rt commented Mar 27, 2014

From @moritz

<moritz> r​: sub f() { warn 42 }; f
<camelia> rakudo-jvm 68e094, rakudo-moar 68e094​: OUTPUT«42␤»
<camelia> ..rakudo-parrot 68e094​: OUTPUT«42 in sub f at /tmp/tmpfile​:1␤␤»

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant