[perl #131238] [LTA] "This type cannot unbox to a native string" when not returning a `Str` from method `gist`

2017-05-02 Thread Sam S. via RT
Fair enough.

[perl #131238] [LTA] "This type cannot unbox to a native string" when not returning a `Str` from method `gist`

2017-04-29 Thread Zoffix Znet via RT
On Sat, 29 Apr 2017 08:14:38 -0700, sml...@gmail.com wrote: > Returning a Str from a custom class's .gist works fine: > > ➜ class A { method gist { "42" } }; say A.new; > 42 > > But when returning other values, it fails to convert them to Str > automatically, and instead prints an

[perl #131238] [LTA] "This type cannot unbox to a native string" when not returning a `Str` from method `gist`

2017-04-29 Thread Zoffix Znet via RT
On Sat, 29 Apr 2017 08:14:38 -0700, sml...@gmail.com wrote: > Returning a Str from a custom class's .gist works fine: > > ➜ class A { method gist { "42" } }; say A.new; > 42 > > But when returning other values, it fails to convert them to Str > automatically, and instead prints an

[perl #131238] [LTA] "This type cannot unbox to a native string" when not returning a `Str` from method `gist`

2017-04-29 Thread via RT
# New Ticket Created by Sam S. # Please include the string: [perl #131238] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=131238 > Returning a Str from a custom class's .gist works fine: ➜ class A { method gist { "42" }