{"action":"created","issue":{"url":"https://api.github.com/repos/rakudo/rakudo/issues/1923","repository_url":"https://api.github.com/repos/rakudo/rakudo","labels_url":"https://api.github.com/repos/rakudo/rakudo/issues/1923/labels{/name}","comments_url":"https://api.github.com/repos/rakudo/rakudo/issues/1923/comments","events_url":"https://api.github.com/repos/rakudo/rakudo/issues/1923/events","html_url":"https://github.com/rakudo/rakudo/issues/1923","id":332590182,"node_id":"MDU6SXNzdWUzMzI1OTAxODI=","number":1923,"title":"Regression related to MONKEY-TYPING and spesh-plugins merge","user":{"login":"AlexDaniel","id":5507503,"node_id":"MDQ6VXNlcjU1MDc1MDM=","avatar_url":"https://avatars3.githubusercontent.com/u/5507503?v=4","gravatar_id":"","url":"https://api.github.com/users/AlexDaniel","html_url":"https://github.com/AlexDaniel","followers_url":"https://api.github.com/users/AlexDaniel/followers","following_url":"https://api.github.com/users/AlexDaniel/following{/other_user}","gists_url":"https://api.github.com/users/AlexDaniel/gists{/gist_id}","starred_url":"https://api.github.com/users/AlexDaniel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlexDaniel/subscriptions","organizations_url":"https://api.github.com/users/AlexDaniel/orgs","repos_url":"https://api.github.com/users/AlexDaniel/repos","events_url":"https://api.github.com/users/AlexDaniel/events{/privacy}","received_events_url":"https://api.github.com/users/AlexDaniel/received_events","type":"User","site_admin":false},"labels":[{"id":727234643,"node_id":"MDU6TGFiZWw3MjcyMzQ2NDM=","url":"https://api.github.com/repos/rakudo/rakudo/labels/regression","name":"regression","color":"bc2124","default":false}],"state":"open","locked":false,"assignee":{"login":"AlexDaniel","id":5507503,"node_id":"MDQ6VXNlcjU1MDc1MDM=","avatar_url":"https://avatars3.githubusercontent.com/u/5507503?v=4","gravatar_id":"","url":"https://api.github.com/users/AlexDaniel","html_url":"https://github.com/AlexDaniel","followers_url":"https://api.github.com/users/AlexDaniel/followers","following_url":"https://api.github.com/users/AlexDaniel/following{/other_user}","gists_url":"https://api.github.com/users/AlexDaniel/gists{/gist_id}","starred_url":"https://api.github.com/users/AlexDaniel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlexDaniel/subscriptions","organizations_url":"https://api.github.com/users/AlexDaniel/orgs","repos_url":"https://api.github.com/users/AlexDaniel/repos","events_url":"https://api.github.com/users/AlexDaniel/events{/privacy}","received_events_url":"https://api.github.com/users/AlexDaniel/received_events","type":"User","site_admin":false},"assignees":[{"login":"AlexDaniel","id":5507503,"node_id":"MDQ6VXNlcjU1MDc1MDM=","avatar_url":"https://avatars3.githubusercontent.com/u/5507503?v=4","gravatar_id":"","url":"https://api.github.com/users/AlexDaniel","html_url":"https://github.com/AlexDaniel","followers_url":"https://api.github.com/users/AlexDaniel/followers","following_url":"https://api.github.com/users/AlexDaniel/following{/other_user}","gists_url":"https://api.github.com/users/AlexDaniel/gists{/gist_id}","starred_url":"https://api.github.com/users/AlexDaniel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlexDaniel/subscriptions","organizations_url":"https://api.github.com/users/AlexDaniel/orgs","repos_url":"https://api.github.com/users/AlexDaniel/repos","events_url":"https://api.github.com/users/AlexDaniel/events{/privacy}","received_events_url":"https://api.github.com/users/AlexDaniel/received_events","type":"User","site_admin":false}],"milestone":null,"comments":3,"created_at":"2018-06-14T22:46:14Z","updated_at":"2018-06-16T12:02:49Z","closed_at":null,"author_association":"MEMBER","body":"[Test::Fuzz](https://github.com/FCO/Test-Fuzz) is currently failing with this output:\r\n```\r\nok 1 - Test::Fuzz::Generator module can be use-d ok\r\n    ok 1 - \r\n    ok 2 - An object of type 'Parameter+{Test::Fuzz::Generator}' can do the method 'generate'\r\nNo such method 'generate-samples' for invocant of type 'IntStr'. Did you mean 'generate-samples'?\r\n  in block  at /home/alex/git/Test-Fuzz/lib/Test/Fuzz/Generator.pm6 (Test::Fuzz::Generator) line 33\r\n  in method generate at /home/alex/git/Test-Fuzz/lib/Test/Fuzz/Generator.pm6 (Test::Fuzz::Generator) line 32\r\n  in block  at t/01-generator.t line 24\r\n  in block <unit> at t/01-generator.t line 14\r\n```\r\n\r\nThe change is bisectable to these commits:\r\n* f6f43d58e35ef0ba3ea92a47c7164429873977b2\r\n* 51ff83c7ca90af8fbe40acaad728c6fa79f65b76\r\n* c6a61f563b478337a6fb6290d0d612d663d60471\r\n* c5d14062abb2231a18688f3de854b6dbd3a3df1f\r\n\r\n\r\nI attempted to golf it but noticed other weird cases:\r\n\r\nCode:\r\n```perl6\r\nuse MONKEY-TYPING; augment class Int { method foo(::?CLASS:U:) { 999 } }; say IntStr.foo\r\n```\r\n\r\nOutput:\r\n```\r\n¦2018.05,HEAD(2fa08d5): «No such method 'foo' for invocant of type 'IntStr'. Did you mean 'foo'?␤  in block <unit> at /tmp/jUt1kqM_rB line 1␤␤ «exit code = 1»»\r\n```\r\n\r\n---------\r\n\r\nCode:\r\n```perl6\r\nuse MONKEY-TYPING; augment class Int { method foo(::?CLASS:U:) { 999 } }; say IntStr.?foo\r\n```\r\nOutput:\r\n```\r\n¦2018.05: «Nil␤» ¦HEAD(2fa08d5): «999␤»\r\n```\r\n\r\n---------\r\n\r\nCode:\r\n```perl6\r\nuse MONKEY-TYPING; augment class Int { method foo(::?CLASS:U:) { 999 } }; say <42>.?foo\r\n```\r\nOutput:\r\n```\r\n¦«2018.05»:\r\nNil\r\n\r\n¦«HEAD(2fa08d5)»:\r\nInvocant of method 'foo' must be a type object of type 'Int', not an object instance of type 'IntStr'.  Did you forget a 'multi'?\r\n  in method foo at /tmp/VyWjqD6FFR line 1\r\n  in block <unit> at /tmp/VyWjqD6FFR line 1\r\n\r\n«exit code = 1»\r\n```\r\n\r\n---------\r\n\r\nThat's all info I have right now."},"comment":{"url":"https://api.github.com/repos/rakudo/rakudo/issues/comments/397807770","html_url":"https://github.com/rakudo/rakudo/issues/1923#issuecomment-397807770","issue_url":"https://api.github.com/repos/rakudo/rakudo/issues/1923","id":397807770,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NzgwNzc3MA==","user":{"login":"AlexDaniel","id":5507503,"node_id":"MDQ6VXNlcjU1MDc1MDM=","avatar_url":"https://avatars3.githubusercontent.com/u/5507503?v=4","gravatar_id":"","url":"https://api.github.com/users/AlexDaniel","html_url":"https://github.com/AlexDaniel","followers_url":"https://api.github.com/users/AlexDaniel/followers","following_url":"https://api.github.com/users/AlexDaniel/following{/other_user}","gists_url":"https://api.github.com/users/AlexDaniel/gists{/gist_id}","starred_url":"https://api.github.com/users/AlexDaniel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlexDaniel/subscriptions","organizations_url":"https://api.github.com/users/AlexDaniel/orgs","repos_url":"https://api.github.com/users/AlexDaniel/repos","events_url":"https://api.github.com/users/AlexDaniel/events{/privacy}","received_events_url":"https://api.github.com/users/AlexDaniel/received_events","type":"User","site_admin":false},"created_at":"2018-06-16T12:02:49Z","updated_at":"2018-06-16T12:02:49Z","author_association":"MEMBER","body":"OK, this should be fine now. I reverted the commit on master, and re-reverted it on post-release branch.\r\n\r\nI've also submitted a PR to the module even though that was not really needed because there's a chance we'll have a bug-compatible fix (so just in case things turn out to be different than we expect)."}}
{"actor":{"display_login":"AlexDaniel"}}