sorear/niecza — Issue #100: Sub form of mixins fails
Author: colomon
Created: 2012-01-06 13:47:16+00:00
State: open

From mixin.t:

{
role Answer { has $.answer is rw }
my $x = 0;
$x does Answer(42);
is $x.answer, 42, 'role mix-in with initialization value worked';
is $x, 0, 'mixing into Int still makes it function as an Int';
}

Niecza responds with 'Cannot compose a type of category class (Any)'