Tests in
https://github.com/perl6/roast/commit/ce1a5a2e6b5b199c0df69a83cf66f1b830ee47e8
and
https://github.com/perl6/roast/commit/38c9dc5fd5339ed434438eb58bae07e7fdd31a1d
Closing.
On 2018-03-12 06:59:31, jan-olof.hen...@bredband.net wrote:
> On Wed, 13 Sep 2017 19:17:16 -0700, b...@abrij.org wrot
On Wed, 13 Sep 2017 19:17:16 -0700, b...@abrij.org wrote:
> On Wed, 13 Sep 2017 19:15:36 -0700, b...@abrij.org wrote:
> > On Fri, 16 Oct 2015 00:54:21 -0700, larry wrote:
> > > On Sat Oct 10 08:33:13 2015, FROGGS.de wrote:
> > > > say class { has Int $.foo is default(0) }.new.foo
> > > > rakudo-moa
On Wed, 13 Sep 2017 19:15:36 -0700, b...@abrij.org wrote:
> On Fri, 16 Oct 2015 00:54:21 -0700, larry wrote:
> > On Sat Oct 10 08:33:13 2015, FROGGS.de wrote:
> > > say class { has Int $.foo is default(0) }.new.foo
> > > rakudo-moar 025ec1: OUTPUT«(Int)»
> > >
> > > class Foo { has Int $.foo is d
On Sat Oct 10 08:33:13 2015, FROGGS.de wrote:
> say class { has Int $.foo is default(0) }.new.foo
> rakudo-moar 025ec1: OUTPUT«(Int)»
>
> class Foo { has Int $.foo is default(0) }; say Foo.new.foo
> rakudo-moar 025ec1: OUTPUT«(Int)»
>
> I would expect that foo is zero in both cases.
Even less
# New Ticket Created by Tobias Leich
# Please include the string: [perl #126318]
# in the subject line of all future correspondence about this issue.
# https://rt.perl.org/Ticket/Display.html?id=126318 >
say class { has Int $.foo is default(0) }.new.foo
rakudo-moar 025ec1: OUTPUT«(Int)»
cla