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

Failure from container default does not display a stacktrace #5100

Open
p6rt opened this issue Jan 29, 2016 · 3 comments
Open

Failure from container default does not display a stacktrace #5100

p6rt opened this issue Jan 29, 2016 · 3 comments

Comments

@p6rt
Copy link

p6rt commented Jan 29, 2016

Migrated from rt.perl.org#127414 (status was 'open')

Searchable as RT127414$

@p6rt
Copy link
Author

p6rt commented Jan 29, 2016

From @gfldex

my $a is default(Failure.new); say $a;

# OUTPUT«===SORRY!===␤Failed»

# The backtrace is actually there.

try { my $a is default(Failure.new); say $a; CATCH { default { say .backtrace.Str } } }

# OUTPUT« in any at src/Perl6/World.nqp line 2004␤ in any [...]

# expected, same as​:

my $a = Failure.new; say $a;

# OUTPUT«Failed␤␤Actually thrown at​:␤ in block <unit> at /tmp/DBSBIIaXxc line 1␤»

@p6rt
Copy link
Author

p6rt commented Jan 29, 2016

From @lizmat

On 29 Jan 2016, at 14​:43, Wenzel Peppmeyer (via RT) <perl6-bugs-followup@​perl.org> wrote​:

# New Ticket Created by Wenzel Peppmeyer
# Please include the string​: [perl #​127414]
# in the subject line of all future correspondence about this issue.
# <URL​: https://rt-archive.perl.org/perl6/Ticket/Display.html?id=127414 >

my $a is default(Failure.new); say $a;

Maybe that’s because the Failure is created at compile time?

Liz

@p6rt
Copy link
Author

p6rt commented Jan 29, 2016

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

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