@@ -11,6 +11,7 @@ is class { has Int:_ $.a }.new.a, Int, 'can Int:_ be on its own';
11
11
is class { has Int : _ $ . a = Int }. new . a, Int , ' can Int:_ take an Int:U' ;
12
12
is class { has Int : _ $ . a = 42 }. new . a, 42 , ' can Int:_ take an Int:D' ;
13
13
14
+ # ?rakudo.jvm todo "got '?.?' RT #128031"
14
15
is class { has Int : U $ . a }. new . a, Int : U , ' can Int:U be on its own' ;
15
16
is class { has Int : U $ . a = Int }. new . a, Int , ' can Int:U take an Int:U' ;
16
17
throws-like { class { has Int : U $ . a = 42 }. new . a },
@@ -35,6 +36,7 @@ is class { has Int:D $.a = 42 }.new.a, 42, 'can Int:D take an Int:D';
35
36
is class { has Int : _ $ . a = Int }. new . a, Int , ' with :_, can Int:_ take an Int:U' ;
36
37
is class { has Int : _ $ . a = 42 }. new . a, 42 , ' with :_, can Int:_ take an Int:D' ;
37
38
39
+ # ?rakudo.jvm todo "got '?.?' RT #128031"
38
40
is class { has Int : U $ . a }. new . a, Int : U , ' with :_, can Int:U be on its own' ;
39
41
is class { has Int : U $ . a = Int }. new . a, Int , ' with :_, can Int:U take an Int:U' ;
40
42
throws-like { class { has Int : U $ . a = 42 }. new },
@@ -52,6 +54,7 @@ is class { has Int:D $.a = 42 }.new.a, 42, 'can Int:D take an Int:D';
52
54
53
55
{
54
56
use attributes : U;
57
+ # ?rakudo.jvm todo "got '?.?' RT #128031"
55
58
is class { has Int $ . a }. new . a, Int : U , ' with :U, can Int be on its own' ;
56
59
is class { has Int $ . a = Int }. new . a, Int , ' with :U, can Int take an Int:U' ;
57
60
throws-like { class { has Int $ a = 42 }. new },
@@ -62,6 +65,7 @@ is class { has Int:D $.a = 42 }.new.a, 42, 'can Int:D take an Int:D';
62
65
is class { has Int : _ $ . a = Int }. new . a, Int , ' with :U, can Int:_ take an Int:U' ;
63
66
is class { has Int : _ $ . a = 42 }. new . a, 42 , ' with :U, can Int:_ take an Int:D' ;
64
67
68
+ # ?rakudo.jvm todo "got '?.?' RT #128031"
65
69
is class { has Int : U $ . a }. new . a, Int : U , ' with :U, can Int:U be on its own' ;
66
70
is class { has Int : U $ . a = Int }. new . a, Int , ' with :U, can Int:U take an Int:U' ;
67
71
throws-like { class { has Int : U $ . a = 42 }. new },
@@ -91,6 +95,7 @@ is class { has Int:D $.a = 42 }.new.a, 42, 'can Int:D take an Int:D';
91
95
is class { has Int : _ $ . a = Int }. new . a, Int , ' with :D, can Int:_ take an Int:U' ;
92
96
is class { has Int : _ $ . a = 42 }. new . a, 42 , ' with :D, can Int:_ take an Int:D' ;
93
97
98
+ # ?rakudo.jvm todo "got '?.?' RT #128031"
94
99
is class { has Int : U $ . a }. new . a, Int : U , ' with :D, can Int:U be on its own' ;
95
100
is class { has Int : U $ . a = Int }. new . a, Int , ' with :D, can Int:U take an Int:U' ;
96
101
throws-like { class { has Int : U $ . a = 42 }. new },
0 commit comments