17 Oct 2019 |
Kaiepi |
i might take a look at some of the nativecall blockers once i fix a gc bug related to some refactoring in moarvm i did last week |
14:15 |
|
|
ah, i was too late for that then |
14:29 |
|
|
m: enum Foo <foo bar baz>; augment grammar Foo { method ^name(--> Str:D) { 'um' } }; say Foo |
15:45 |
|
|
m: use MONKEY-TYPING; enum Foo <foo bar baz>; augment grammar Foo { method ^name(--> Str:D) { 'um' } }; say Foo |
|
|
|
m: use MONKEY-TYPING; enum Foo <foo bar baz>; augment grammar Foo { method name(--> Str:D) { 'um' } }; say Foo.name |
|
|
|
m: use MONKEY-TYPING; class Foo { }; augment class Foo { method ^name(--> Str:D) { "Not Foo" } }; say Foo |
15:46 |
|
|
m: use MONKEY-TYPING; class Foo { }; augment class Foo { method ^name(--> Str:D) { "Not Foo" } }; say Foo.^name |
|
|
|
m: use MONKEY-TYPING; class Foo { }; augment class Foo { method ^name($ --> Str:D) { "Not Foo" } }; say Foo |
|
|
|
m: use MONKEY-TYPING; class Foo { }; augment class Foo { method ^name($ --> Str:D) { "Not Foo" } }; say Foo.^name |
|
|
|
there's some type of bug in this, but what should even happen when you try to run it? fpaste.scsys.co.uk/586535?tx=on |
15:50 |
|
|
since it's augmenting with the wrong HOW |
|
|
|
ah |
16:38 |
|
|
wait, jnthn, that wasn't the code i was thinking was buggy |
16:52 |
|
|
it was what i was trying earlier, this fpaste.scsys.co.uk/586535?tx=on |
|
|
|
m: use MONKEY-TYPING; enum Foo <foo bar baz>; augment grammar Foo { method ^shortname($ --> Str:D) { 'Not Foo' } }; say Foo |
17:15 |
|
18 Oct 2019 |
|
nine, can't reproduce either |
20:16 |
|
19 Oct 2019 |
|
i'm running into the same error as #3045 in my own code |
21:29 |
|
|
R#3045 |
|
|
|
however you get the bot to link rakudo issues |
|
|
|
ah |
21:30 |
|
|
nine++, i wouldn't have figured this out without that commit |
23:53 |
|
20 Oct 2019 |
|
argh, my commit broke Inline::Perl5? |
14:55 |
|
|
i'm guessing the actual fix for this is something else because i'm pretty sure this used to behave differently: |
14:56 |
|
|
bisectable6, BEGIN { my str $name = 'foo'; our Mu:U $subset := Metamodel::SubsetHOW.new_type: :$name; $*W.add_object_if_no_sc: $subset }; say $subset.^name.WHAT |
14:58 |
|
|
bisectable6, BEGIN { my str $name = 'foo'; our $subset := Metamodel::SubsetHOW.new_type: :$name; $*W.add_object_if_no_sc: $subset }; say $subset.^name.WHAT |
|
|