{"action":"created","issue":{"url":"https://api.github.com/repos/rakudo/rakudo/issues/2229","repository_url":"https://api.github.com/repos/rakudo/rakudo","labels_url":"https://api.github.com/repos/rakudo/rakudo/issues/2229/labels{/name}","comments_url":"https://api.github.com/repos/rakudo/rakudo/issues/2229/comments","events_url":"https://api.github.com/repos/rakudo/rakudo/issues/2229/events","html_url":"https://github.com/rakudo/rakudo/issues/2229","id":351913356,"node_id":"MDU6SXNzdWUzNTE5MTMzNTY=","number":2229,"title":"conditional import bug","user":{"login":"lichtkind","id":91441,"node_id":"MDQ6VXNlcjkxNDQx","avatar_url":"https://avatars2.githubusercontent.com/u/91441?v=4","gravatar_id":"","url":"https://api.github.com/users/lichtkind","html_url":"https://github.com/lichtkind","followers_url":"https://api.github.com/users/lichtkind/followers","following_url":"https://api.github.com/users/lichtkind/following{/other_user}","gists_url":"https://api.github.com/users/lichtkind/gists{/gist_id}","starred_url":"https://api.github.com/users/lichtkind/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lichtkind/subscriptions","organizations_url":"https://api.github.com/users/lichtkind/orgs","repos_url":"https://api.github.com/users/lichtkind/repos","events_url":"https://api.github.com/users/lichtkind/events{/privacy}","received_events_url":"https://api.github.com/users/lichtkind/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-08-19T15:54:33Z","updated_at":"2018-08-19T16:05:47Z","closed_at":null,"author_association":"NONE","body":"## Depending on the used import flag, mandatory imported methods vanish.\r\n\r\n## Expected Behavior\r\nMath::Matrix exports a range of matrix ops as +, *, - by overloading the infix ops when operands are matrices. Once I:\r\n\r\nuse Math::Matrix :MM;\r\n\r\n## Actual Behavior\r\n\r\nthe rest will not be imported.\r\n\r\n## Steps to Reproduce\r\n/Users/lichtkind/code/perl/six/module/Perl6-Math-Matrix $ perl6 -e 'use Math::Matrix; my $m = Math::Matrix.new([[1,2],[3,4]]); say  $m * $m'\r\n  1   4 \r\n  9  16 \r\n/Users/lichtkind/code/perl/six/module/Perl6-Math-Matrix $ perl6 -e 'use Math::Matrix :MM; my $m = Math::Matrix.new([[1,2],[3,4]]); say  $m * $m'\r\n16\r\n\r\n. Here numeric context is applied and then multiplied as if the matrix * never happened.\r\n\r\n\r\n## Environment\r\ncurrent perl 6\r\n"},"comment":{"url":"https://api.github.com/repos/rakudo/rakudo/issues/comments/414137588","html_url":"https://github.com/rakudo/rakudo/issues/2229#issuecomment-414137588","issue_url":"https://api.github.com/repos/rakudo/rakudo/issues/2229","id":414137588,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNDEzNzU4OA==","user":{"login":"ugexe","id":239748,"node_id":"MDQ6VXNlcjIzOTc0OA==","avatar_url":"https://avatars1.githubusercontent.com/u/239748?v=4","gravatar_id":"","url":"https://api.github.com/users/ugexe","html_url":"https://github.com/ugexe","followers_url":"https://api.github.com/users/ugexe/followers","following_url":"https://api.github.com/users/ugexe/following{/other_user}","gists_url":"https://api.github.com/users/ugexe/gists{/gist_id}","starred_url":"https://api.github.com/users/ugexe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ugexe/subscriptions","organizations_url":"https://api.github.com/users/ugexe/orgs","repos_url":"https://api.github.com/users/ugexe/repos","events_url":"https://api.github.com/users/ugexe/events{/privacy}","received_events_url":"https://api.github.com/users/ugexe/received_events","type":"User","site_admin":false},"created_at":"2018-08-19T16:05:47Z","updated_at":"2018-08-19T16:05:47Z","author_association":"MEMBER","body":"\"current perl 6\" doesn't tell anyone who is looking at this issue in the future what version of rakudo you were experiencing this on. I would suggest putting the output of `perl6 -v` in future issues."}}
{"actor":{"display_login":"ugexe"}}