[perl #132081] [LTA] Wrong exception type on bad attribute default values

2017-09-13 Thread Brian S. Julin via RT
On Wed, 13 Sep 2017 18:21:56 -0700, b...@abrij.org wrote: > $ perl6 -e 'my Int $a is default("foo");' > ===SORRY!=== Error while compiling -e > Default value 'foo' will never bind to a parameter of type Int > at -e:1 > --> my Int $a is default("foo")⏏; > expecting any of: > constrai

[perl #132081] [LTA] Wrong exception type on bad attribute default values

2017-09-13 Thread Brian S. Julin
# New Ticket Created by "Brian S. Julin" # Please include the string: [perl #132081] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=132081 > $ perl6 -e 'my Int $a is default("foo");' ===SORRY!=== Error while compiling -e Defau