{"action":"created","issue":{"url":"https://api.github.com/repos/dart-lang/sdk/issues/33449","repository_url":"https://api.github.com/repos/dart-lang/sdk","labels_url":"https://api.github.com/repos/dart-lang/sdk/issues/33449/labels{/name}","comments_url":"https://api.github.com/repos/dart-lang/sdk/issues/33449/comments","events_url":"https://api.github.com/repos/dart-lang/sdk/issues/33449/events","html_url":"https://github.com/dart-lang/sdk/issues/33449","id":332391546,"node_id":"MDU6SXNzdWUzMzIzOTE1NDY=","number":33449,"title":"Mixin transformer doesn't update parent pointer of annotations","user":{"login":"peter-ahe-google","id":5689005,"node_id":"MDQ6VXNlcjU2ODkwMDU=","avatar_url":"https://avatars1.githubusercontent.com/u/5689005?v=4","gravatar_id":"","url":"https://api.github.com/users/peter-ahe-google","html_url":"https://github.com/peter-ahe-google","followers_url":"https://api.github.com/users/peter-ahe-google/followers","following_url":"https://api.github.com/users/peter-ahe-google/following{/other_user}","gists_url":"https://api.github.com/users/peter-ahe-google/gists{/gist_id}","starred_url":"https://api.github.com/users/peter-ahe-google/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peter-ahe-google/subscriptions","organizations_url":"https://api.github.com/users/peter-ahe-google/orgs","repos_url":"https://api.github.com/users/peter-ahe-google/repos","events_url":"https://api.github.com/users/peter-ahe-google/events{/privacy}","received_events_url":"https://api.github.com/users/peter-ahe-google/received_events","type":"User","site_admin":false},"labels":[{"id":524536392,"node_id":"MDU6TGFiZWw1MjQ1MzYzOTI=","url":"https://api.github.com/repos/dart-lang/sdk/labels/area-front-end","name":"area-front-end","color":"c5def5","default":false},{"id":473092993,"node_id":"MDU6TGFiZWw0NzMwOTI5OTM=","url":"https://api.github.com/repos/dart-lang/sdk/labels/area-kernel","name":"area-kernel","color":"c5def5","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-06-14T12:58:40Z","updated_at":"2018-06-14T12:59:54Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"I think the mixin transformer has a problem with annotations as the program below fails to verify after mixin transformation.\r\n\r\n```\r\n$ cat -n t.dart\r\n     1\tabstract class Interface {\r\n     2\t  method();\r\n     3\t}\r\n     4\t\r\n     5\tabstract class M implements Interface {\r\n     6\t  @override\r\n     7\t  method();\r\n     8\t}\r\n     9\t\r\n    10\tclass C extends Interface with M {\r\n    11\t  @override\r\n    12\t  method() {}\r\n    13\t}\r\n    14\t\r\n    15\tmain() {}\r\n$ ./fasta compile --verify t.dart\r\nt.dart:6:4: Error: Verification of the generated program failed:\r\nIncorrect parent pointer on StaticGet: expected 'Procedure', but found: 'Null'.\r\n  @override\r\n   ^\r\n$ ./fasta compile --verify t.dart -t none\r\n```"},"comment":{"url":"https://api.github.com/repos/dart-lang/sdk/issues/comments/397286705","html_url":"https://github.com/dart-lang/sdk/issues/33449#issuecomment-397286705","issue_url":"https://api.github.com/repos/dart-lang/sdk/issues/33449","id":397286705,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NzI4NjcwNQ==","user":{"login":"peter-ahe-google","id":5689005,"node_id":"MDQ6VXNlcjU2ODkwMDU=","avatar_url":"https://avatars1.githubusercontent.com/u/5689005?v=4","gravatar_id":"","url":"https://api.github.com/users/peter-ahe-google","html_url":"https://github.com/peter-ahe-google","followers_url":"https://api.github.com/users/peter-ahe-google/followers","following_url":"https://api.github.com/users/peter-ahe-google/following{/other_user}","gists_url":"https://api.github.com/users/peter-ahe-google/gists{/gist_id}","starred_url":"https://api.github.com/users/peter-ahe-google/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peter-ahe-google/subscriptions","organizations_url":"https://api.github.com/users/peter-ahe-google/orgs","repos_url":"https://api.github.com/users/peter-ahe-google/repos","events_url":"https://api.github.com/users/peter-ahe-google/events{/privacy}","received_events_url":"https://api.github.com/users/peter-ahe-google/received_events","type":"User","site_admin":false},"created_at":"2018-06-14T12:59:54Z","updated_at":"2018-06-14T12:59:54Z","author_association":"CONTRIBUTOR","body":"Please note that the problem seems to only be an issue for abstract methods."}}
{"actor":{"display_login":"peter-ahe-google"}}