{"action":"closed","issue":{"url":"https://api.github.com/repos/dart-lang/sdk/issues/31416","repository_url":"https://api.github.com/repos/dart-lang/sdk","labels_url":"https://api.github.com/repos/dart-lang/sdk/issues/31416/labels{/name}","comments_url":"https://api.github.com/repos/dart-lang/sdk/issues/31416/comments","events_url":"https://api.github.com/repos/dart-lang/sdk/issues/31416/events","html_url":"https://github.com/dart-lang/sdk/issues/31416","id":275478044,"number":31416,"title":"Fasta crashes when \"dynamic\" is given type arguments.","user":{"login":"sjindel-google","id":29863079,"avatar_url":"https://avatars2.githubusercontent.com/u/29863079?v=4","gravatar_id":"","url":"https://api.github.com/users/sjindel-google","html_url":"https://github.com/sjindel-google","followers_url":"https://api.github.com/users/sjindel-google/followers","following_url":"https://api.github.com/users/sjindel-google/following{/other_user}","gists_url":"https://api.github.com/users/sjindel-google/gists{/gist_id}","starred_url":"https://api.github.com/users/sjindel-google/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sjindel-google/subscriptions","organizations_url":"https://api.github.com/users/sjindel-google/orgs","repos_url":"https://api.github.com/users/sjindel-google/repos","events_url":"https://api.github.com/users/sjindel-google/events{/privacy}","received_events_url":"https://api.github.com/users/sjindel-google/received_events","type":"User","site_admin":false},"labels":[{"id":219928190,"url":"https://api.github.com/repos/dart-lang/sdk/labels/P3%20low","name":"P3 low","color":"bfe5bf","default":false},{"id":524536392,"url":"https://api.github.com/repos/dart-lang/sdk/labels/area-front-end","name":"area-front-end","color":"c5def5","default":false},{"id":900008908,"url":"https://api.github.com/repos/dart-lang/sdk/labels/moved-from-dart2beta3","name":"moved-from-dart2beta3","color":"fef2c0","default":false}],"state":"closed","locked":false,"assignee":{"login":"kmillikin","id":1971137,"avatar_url":"https://avatars0.githubusercontent.com/u/1971137?v=4","gravatar_id":"","url":"https://api.github.com/users/kmillikin","html_url":"https://github.com/kmillikin","followers_url":"https://api.github.com/users/kmillikin/followers","following_url":"https://api.github.com/users/kmillikin/following{/other_user}","gists_url":"https://api.github.com/users/kmillikin/gists{/gist_id}","starred_url":"https://api.github.com/users/kmillikin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kmillikin/subscriptions","organizations_url":"https://api.github.com/users/kmillikin/orgs","repos_url":"https://api.github.com/users/kmillikin/repos","events_url":"https://api.github.com/users/kmillikin/events{/privacy}","received_events_url":"https://api.github.com/users/kmillikin/received_events","type":"User","site_admin":false},"assignees":[{"login":"kmillikin","id":1971137,"avatar_url":"https://avatars0.githubusercontent.com/u/1971137?v=4","gravatar_id":"","url":"https://api.github.com/users/kmillikin","html_url":"https://github.com/kmillikin","followers_url":"https://api.github.com/users/kmillikin/followers","following_url":"https://api.github.com/users/kmillikin/following{/other_user}","gists_url":"https://api.github.com/users/kmillikin/gists{/gist_id}","starred_url":"https://api.github.com/users/kmillikin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kmillikin/subscriptions","organizations_url":"https://api.github.com/users/kmillikin/orgs","repos_url":"https://api.github.com/users/kmillikin/repos","events_url":"https://api.github.com/users/kmillikin/events{/privacy}","received_events_url":"https://api.github.com/users/kmillikin/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/dart-lang/sdk/milestones/54","html_url":"https://github.com/dart-lang/sdk/milestone/54","labels_url":"https://api.github.com/repos/dart-lang/sdk/milestones/54/labels","id":3190923,"number":54,"title":"Dart2Beta4","description":"","creator":{"login":"JekCharlsonYu","id":35309828,"avatar_url":"https://avatars3.githubusercontent.com/u/35309828?v=4","gravatar_id":"","url":"https://api.github.com/users/JekCharlsonYu","html_url":"https://github.com/JekCharlsonYu","followers_url":"https://api.github.com/users/JekCharlsonYu/followers","following_url":"https://api.github.com/users/JekCharlsonYu/following{/other_user}","gists_url":"https://api.github.com/users/JekCharlsonYu/gists{/gist_id}","starred_url":"https://api.github.com/users/JekCharlsonYu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JekCharlsonYu/subscriptions","organizations_url":"https://api.github.com/users/JekCharlsonYu/orgs","repos_url":"https://api.github.com/users/JekCharlsonYu/repos","events_url":"https://api.github.com/users/JekCharlsonYu/events{/privacy}","received_events_url":"https://api.github.com/users/JekCharlsonYu/received_events","type":"User","site_admin":false},"open_issues":17,"closed_issues":71,"state":"open","created_at":"2018-03-15T15:50:07Z","updated_at":"2018-05-17T12:15:47Z","due_on":"2018-05-15T07:00:00Z","closed_at":null},"comments":5,"created_at":"2017-11-20T19:54:22Z","updated_at":"2018-05-17T12:15:47Z","closed_at":"2018-05-17T12:15:47Z","author_association":"CONTRIBUTOR","body":"```\r\n$ cat <<EOF >test.dart\r\ndynamic<int> x = null;\r\nmain() {\r\n  x.toString();\r\n}\r\n$ DART_CONFIGURATION=ReleaseX64 ./pkg/front_end/tool/fasta compile --platform=vm_platform_strong.dill --strong test.dart\r\nNote: strong mode support is preliminary and may not work.\r\nUnhandled exception:\r\ntest.dart:1:1: Internal problem: Unhandled DynamicTypeBuilder<KernelTypeBuilder, dynamic> in TypeDeclarationAccessor.buildType.\r\ndynamic<int> x = null;\r\n^\r\n#0      internalProblem (package:front_end/src/fasta/problems.dart:29:3)\r\n#1      unhandled (package:front_end/src/fasta/problems.dart:41:10)\r\n#2      TypeDeclarationAccessor.buildType (package:front_end/src/fasta/kernel/fasta_accessors.dart:1076:16)\r\n#3      BodyBuilder.handleType (package:front_end/src/fasta/kernel/body_builder.dart:1838:17)\r\n#4      Parser.parseType.commitType (package:front_end/src/fasta/parser/parser.dart:2014:18)\r\n#5      Parser.parseType (package:front_end/src/fasta/parser/parser.dart:2097:26)\r\n#6      Parser.parseModifiers (package:front_end/src/fasta/parser/parser.dart:3116:13)\r\n#7      Parser.parseFields (package:front_end/src/fasta/parser/parser.dart:2595:19)\r\n#8      Parser.parseTopLevelMember (package:front_end/src/fasta/parser/parser.dart:2577:11)\r\n#9      DietListener.parseFields (package:front_end/src/fasta/source/diet_listener.dart:721:22)\r\n#10     DietListener.buildFields (package:front_end/src/fasta/source/diet_listener.dart:564:5)\r\n#11     DietListener.endTopLevelFields (package:front_end/src/fasta/source/diet_listener.dart:251:5)\r\n#12     Parser.parseFields (package:front_end/src/fasta/parser/parser.dart:2619:16)\r\n#13     Parser.parseTopLevelMember (package:front_end/src/fasta/parser/parser.dart:2577:11)\r\n#14     Parser.parseTopLevelDeclarationImpl (package:front_end/src/fasta/parser/parser.dart:393:14)\r\n#15     Parser.parseUnit (package:front_end/src/fasta/parser/parser.dart:308:15)\r\n#16     SourceLoader.buildBody (package:front_end/src/fasta/source/source_loader.dart:181:14)\r\n<asynchronous suspension>\r\n#17     Loader.buildBodies (package:front_end/src/fasta/loader.dart:136:13)\r\n<asynchronous suspension>\r\n#18     KernelTarget.buildProgram (package:front_end/src/fasta/kernel/kernel_target.dart:291:20)\r\n<asynchronous suspension>\r\n#19     CompileTask.compile (file:///usr/local/google/home/sjindel/src/dart-sdk/sdk/pkg/front_end/tool/_fasta/entry_points.dart:160:38)\r\n<asynchronous suspension>\r\n#20     compile.<anonymous closure> (file:///usr/local/google/home/sjindel/src/dart-sdk/sdk/pkg/front_end/tool/_fasta/entry_points.dart:98:25)\r\n<asynchronous suspension>\r\n#21     withGlobalOptions.<anonymous closure> (file:///usr/local/google/home/sjindel/src/dart-sdk/sdk/pkg/front_end/tool/_fasta/command_line.dart:376:13)\r\n#22     CompilerContext.runInContext.<anonymous closure> (package:front_end/src/fasta/compiler_context.dart:89:33)\r\n#23     _rootRun (dart:async/zone.dart:1126)\r\n#24     _CustomZone.run (dart:async/zone.dart:1023)\r\n#25     runZoned (dart:async/zone.dart:1501)\r\n#26     CompilerContext.runInContext (package:front_end/src/fasta/compiler_context.dart:89:12)\r\n#27     CompilerContext.runWithOptions (package:front_end/src/fasta/compiler_context.dart:96:41)\r\n#28     withGlobalOptions (file:///usr/local/google/home/sjindel/src/dart-sdk/sdk/pkg/front_end/tool/_fasta/command_line.dart:369:26)\r\n#29     compile (file:///usr/local/google/home/sjindel/src/dart-sdk/sdk/pkg/front_end/tool/_fasta/entry_points.dart:91:18)\r\n<asynchronous suspension>\r\n#30     compileEntryPoint (file:///usr/local/google/home/sjindel/src/dart-sdk/sdk/pkg/front_end/tool/_fasta/entry_points.dart:49:11)\r\n<asynchronous suspension>\r\n#31     main (file:///usr/local/google/home/sjindel/src/dart-sdk/sdk/pkg/front_end/tool/_fasta/compile.dart:7:33)\r\n#32     _startIsolate.<anonymous closure> (dart:isolate-patch/dart:isolate/isolate_patch.dart:275)\r\n#33     _RawReceivePortImpl._handleMessage (dart:isolate-patch/dart:isolate/isolate_patch.dart:163)\r\n```"}}
{"actor":{"display_login":"askeksa-google"}}