{"action":"created","issue":{"url":"https://api.github.com/repos/dart-lang/sdk/issues/33628","repository_url":"https://api.github.com/repos/dart-lang/sdk","labels_url":"https://api.github.com/repos/dart-lang/sdk/issues/33628/labels{/name}","comments_url":"https://api.github.com/repos/dart-lang/sdk/issues/33628/comments","events_url":"https://api.github.com/repos/dart-lang/sdk/issues/33628/events","html_url":"https://github.com/dart-lang/sdk/issues/33628","id":335880982,"node_id":"MDU6SXNzdWUzMzU4ODA5ODI=","number":33628,"title":"gen_kernel hits a runtime type error on language_2/constant_string_interpolation2_test.dart","user":{"login":"zanderso","id":6343103,"node_id":"MDQ6VXNlcjYzNDMxMDM=","avatar_url":"https://avatars0.githubusercontent.com/u/6343103?v=4","gravatar_id":"","url":"https://api.github.com/users/zanderso","html_url":"https://github.com/zanderso","followers_url":"https://api.github.com/users/zanderso/followers","following_url":"https://api.github.com/users/zanderso/following{/other_user}","gists_url":"https://api.github.com/users/zanderso/gists{/gist_id}","starred_url":"https://api.github.com/users/zanderso/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zanderso/subscriptions","organizations_url":"https://api.github.com/users/zanderso/orgs","repos_url":"https://api.github.com/users/zanderso/repos","events_url":"https://api.github.com/users/zanderso/events{/privacy}","received_events_url":"https://api.github.com/users/zanderso/received_events","type":"User","site_admin":false},"labels":[{"id":219928165,"node_id":"MDU6TGFiZWwyMTk5MjgxNjU=","url":"https://api.github.com/repos/dart-lang/sdk/labels/area-vm","name":"area-vm","color":"c7def8","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-06-26T15:44:01Z","updated_at":"2018-06-26T16:13:19Z","closed_at":null,"author_association":"MEMBER","body":"/cc @alexmarkov \r\n\r\n```\r\n$ pkg/vm/tool/gen_kernel --aot --strong-mode --sync-async --platform=out/ReleaseX64/vm_platform_strong.dill -o /usr/local/google/home/zra/dart/sdk/out/ReleaseX64/generated_compilations/dartkp-strong/tests_language_2_constant_string_interpolation2_test/out.dill --entry-points out/ReleaseX64/gen/runtime/bin/precompiler_entry_points.json --entry-points /usr/local/google/home/zra/dart/sdk/pkg/vm/lib/transformations/type_flow/entry_points_extra.json --entry-points /usr/local/google/home/zra/dart/sdk/pkg/vm/lib/transformations/type_flow/entry_points_extra_standalone.json /usr/local/google/home/zra/dart/sdk/tests/language_2/constant_string_interpolation2_test.dart\r\n```\r\n\r\nGives:\r\n\r\n```\r\nexit code:\r\n-10\r\n\r\nstderr:\r\ntype 'NullConstant' is not a subtype of type 'BoolConstant'\r\n#0      VmConstantsBackend.buildConstantForNative (package:kernel/vm/constants_native_effects.dart:50:53)\r\n#1      ConstantEvaluator.visitStaticInvocation (package:kernel/transformations/constants.dart:977:43)\r\n#2      StaticInvocation.accept (package:kernel/ast.dart:2867:36)\r\n#3      ConstantEvaluator.evaluate (package:kernel/transformations/constants.dart:402:37)\r\n#4      ConstantsTransformer.tryEvaluateWithContext.<anonymous closure> (package:kernel/transformations/constants.dart:355:34)\r\n#5      ConstantEvaluator.runInsideContext (package:kernel/transformations/constants.dart:410:17)\r\n#6      ConstantsTransformer.tryEvaluateWithContext (package:kernel/transformations/constants.dart:353:30)\r\n#7      ConstantsTransformer.visitStaticGet (package:kernel/transformations/constants.dart:298:11)\r\n#8      StaticGet.accept (package:kernel/ast.dart:2559:36)\r\n#9      MethodInvocation.transformChildren (package:kernel/ast.dart:2770:27)\r\n#10     Transformer.defaultTreeNode (package:kernel/visitor.dart:435:10)\r\n#11     TreeVisitor.defaultExpression (package:kernel/visitor.dart:140:43)\r\n#12     TreeVisitor.visitMethodInvocation (package:kernel/visitor.dart:153:53)\r\n#13     MethodInvocation.accept (package:kernel/ast.dart:2759:36)\r\n#14     transformList (package:kernel/ast.dart:5744:27)\r\n#15     Arguments.transformChildren (package:kernel/ast.dart:2652:5)\r\n#16     Transformer.defaultTreeNode (package:kernel/visitor.dart:435:10)\r\n#17     TreeVisitor.visitArguments (package:kernel/visitor.dart:253:39)\r\n#18     Arguments.accept (package:kernel/ast.dart:2642:30)\r\n#19     StaticInvocation.transformChildren (package:kernel/ast.dart:2877:29)\r\n#20     Transformer.defaultTreeNode (package:kernel/visitor.dart:435:10)\r\n#21     TreeVisitor.defaultExpression (package:kernel/visitor.dart:140:43)\r\n#22     TreeVisitor.visitStaticInvocation (package:kernel/visitor.dart:158:53)\r\n#23     StaticInvocation.accept (package:kernel/ast.dart:2867:36)\r\n#24     ExpressionStatement.transformChildren (package:kernel/ast.dart:3772:31)\r\n#25     Transformer.defaultTreeNode (package:kernel/visitor.dart:435:10)\r\n#26     TreeVisitor.defaultStatement (package:kernel/visitor.dart:196:41)\r\n#27     TreeVisitor.visitExpressionStatement (package:kernel/visitor.dart:198:7)\r\n#28     ExpressionStatement.accept (package:kernel/ast.dart:3763:35)\r\n#29     transformList (package:kernel/ast.dart:5744:27)\r\n#30     Block.transformChildren (package:kernel/ast.dart:3799:5)\r\n#31     Transformer.defaultTreeNode (package:kernel/visitor.dart:435:10)\r\n#32     TreeVisitor.defaultStatement (package:kernel/visitor.dart:196:41)\r\n#33     TreeVisitor.visitBlock (package:kernel/visitor.dart:199:31)\r\n#34     Block.accept (package:kernel/ast.dart:3791:35)\r\n#35     ConstantsTransformer.visitFunctionNode (package:kernel/transformations/constants.dart:223:29)\r\n#36     FunctionNode.accept (package:kernel/ast.dart:2007:30)\r\n#37     ConstantsTransformer.visitProcedure.<anonymous closure> (package:kernel/transformations/constants.dart:150:37)\r\n#38     ConstantEvaluator.withNewEnvironment (package:kernel/transformations/constants.dart:1126:16)\r\n#39     ConstantsTransformer.visitProcedure (package:kernel/transformations/constants.dart:148:23)\r\n#40     Procedure.accept (package:kernel/ast.dart:1669:32)\r\n#41     transformList (package:kernel/ast.dart:5744:27)\r\n#42     ConstantsTransformer.convertLibrary (package:kernel/transformations/constants.dart:109:5)\r\n#43     transformLibraries (package:kernel/transformations/constants.dart:73:26)\r\n#44     transformComponent (package:kernel/transformations/constants.dart:45:3)\r\n#45     _performConstantEvaluation.<anonymous closure> (package:vm/kernel_front_end.dart:164:15)\r\n<asynchronous suspension>\r\n#46     CompilerContext.runInContext.<anonymous closure>.<anonymous closure> (package:front_end/src/fasta/compiler_context.dart:118:46)\r\n#47     new Future.sync (dart:async/future.dart:222:31)\r\n#48     CompilerContext.runInContext.<anonymous closure> (package:front_end/src/fasta/compiler_context.dart:118:19)\r\n#49     _rootRun (dart:async/zone.dart:1126:13)\r\n#50     _CustomZone.run (dart:async/zone.dart:1023:19)\r\n#51     _runZoned (dart:async/zone.dart:1518:10)\r\n#52     runZoned (dart:async/zone.dart:1465:12)\r\n#53     CompilerContext.runInContext (package:front_end/src/fasta/compiler_context.dart:117:12)\r\n#54     CompilerContext.runWithOptions (package:front_end/src/fasta/compiler_context.dart:126:41)\r\n#55     _performConstantEvaluation (package:vm/kernel_front_end.dart:152:25)\r\n<asynchronous suspension>\r\n#56     _runGlobalTransformations (package:vm/kernel_front_end.dart:122:13)\r\n<asynchronous suspension>\r\n#57     compileToKernel (package:vm/kernel_front_end.dart:72:11)\r\n<asynchronous suspension>\r\n#58     compile (file:///usr/local/google/home/zra/dart/sdk/pkg/vm/bin/gen_kernel.dart:126:27)\r\n<asynchronous suspension>\r\n#59     runBatchModeCompiler.<anonymous closure> (file:///usr/local/google/home/zra/dart/sdk/pkg/vm/bin/gen_kernel.dart:166:28)\r\n<asynchronous suspension>\r\n#60     runBatch (package:kernel/src/tool/batch_util.dart:38:35)\r\n<asynchronous suspension>\r\n#61     runBatchModeCompiler (file:///usr/local/google/home/zra/dart/sdk/pkg/vm/bin/gen_kernel.dart:152:20)\r\n<asynchronous suspension>\r\n#62     main (file:///usr/local/google/home/zra/dart/sdk/pkg/vm/bin/gen_kernel.dart:68:11)\r\n<asynchronous suspension>\r\n#63     _startIsolate.<anonymous closure> (dart:isolate/runtime/libisolate_patch.dart:277:32)\r\n#64     _RawReceivePortImpl._handleMessage (dart:isolate/runtime/libisolate_patch.dart:165:12)\r\n```"},"comment":{"url":"https://api.github.com/repos/dart-lang/sdk/issues/comments/400371372","html_url":"https://github.com/dart-lang/sdk/issues/33628#issuecomment-400371372","issue_url":"https://api.github.com/repos/dart-lang/sdk/issues/33628","id":400371372,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMDM3MTM3Mg==","user":{"login":"alexmarkov","id":29557594,"node_id":"MDQ6VXNlcjI5NTU3NTk0","avatar_url":"https://avatars3.githubusercontent.com/u/29557594?v=4","gravatar_id":"","url":"https://api.github.com/users/alexmarkov","html_url":"https://github.com/alexmarkov","followers_url":"https://api.github.com/users/alexmarkov/followers","following_url":"https://api.github.com/users/alexmarkov/following{/other_user}","gists_url":"https://api.github.com/users/alexmarkov/gists{/gist_id}","starred_url":"https://api.github.com/users/alexmarkov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexmarkov/subscriptions","organizations_url":"https://api.github.com/users/alexmarkov/orgs","repos_url":"https://api.github.com/users/alexmarkov/repos","events_url":"https://api.github.com/users/alexmarkov/events{/privacy}","received_events_url":"https://api.github.com/users/alexmarkov/received_events","type":"User","site_admin":false},"created_at":"2018-06-26T16:13:19Z","updated_at":"2018-06-26T16:13:19Z","author_association":"CONTRIBUTOR","body":"/cc @mkustermann "}}
{"actor":{"display_login":"alexmarkov"}}