Back to build
Raw log | Switch to full mode | Login

{"name":"dart2js/model/cfe_constant_evaluation_test","configuration":"unittest-asserts-no-sdk-linux","result":"RuntimeError","log":"--- Command \"vm\" (took 16.000996s):\nDART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart --enable_asserts --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages /b/s/w/ir/cache/builder/sdk/tests/compiler/dart2js/model/cfe_constant_evaluation_test.dart\n\nexit code:\n255\n\nstdout:\nunittest-suite-wait-for-done\n--source 'simple'---------------------------------------------\n\nconst c0 = const bool.fromEnvironment(\"x\") ? null : null;\nconst c1 = const bool.fromEnvironment(\"x\") ? null : false;\nconst c2 = const bool.fromEnvironment(\"x\") ? null : true;\nconst c3 = const bool.fromEnvironment(\"x\") ? null : 0;\nconst c4 = const bool.fromEnvironment(\"x\") ? null : 0.0;\nconst c5 = const bool.fromEnvironment(\"x\") ? null : \"foo\";\nconst c6 = const bool.fromEnvironment(\"x\") ? null : 1 + 2;\nconst c7 = const bool.fromEnvironment(\"x\") ? null : -(1);\nconst c8 = const bool.fromEnvironment(\"x\") ? null : 1 == 2;\nconst c9 = const bool.fromEnvironment(\"x\") ? null : 1 != 2;\nconst c10 = const bool.fromEnvironment(\"x\") ? null : 1 / 0;\nconst c11 = const bool.fromEnvironment(\"x\") ? null : 0 / 0;\nconst c12 = const bool.fromEnvironment(\"x\") ? null : 1 << 0;\nconst c13 = const bool.fromEnvironment(\"x\") ? null : 1 >> 0;\nconst c14 = const bool.fromEnvironment(\"x\") ? null : \"foo\".length;\nconst c15 = const bool.fromEnvironment(\"x\") ? null : identical(0, 1);\nconst c16 = const bool.fromEnvironment(\"x\") ? null : \"a\" \"b\";\nconst c17 = const bool.fromEnvironment(\"x\") ? null : \"${null}\";\nconst c18 = const bool.fromEnvironment(\"x\") ? null : identical;\nconst c19 = const bool.fromEnvironment(\"x\") ? null : true ? 0 : 1;\nconst c20 = const bool.fromEnvironment(\"x\") ? null : proxy;\nconst c21 = const bool.fromEnvironment(\"x\") ? null : const [] == null;\nconst c22 = const bool.fromEnvironment(\"x\") ? null : proxy == null;\nconst c23 = const bool.fromEnvironment(\"x\") ? null : proxy != null;\nconst c24 = const bool.fromEnvironment(\"x\") ? null : null == proxy;\nconst c25 = const bool.fromEnvironment(\"x\") ? null : null != proxy;\nconst c26 = const bool.fromEnvironment(\"x\") ? null : true == proxy;\nconst c27 = const bool.fromEnvironment(\"x\") ? null : true != proxy;\nconst c28 = const bool.fromEnvironment(\"x\") ? null : 0 == proxy;\nconst c29 = const bool.fromEnvironment(\"x\") ? null : 0 != proxy;\nconst c30 = const bool.fromEnvironment(\"x\") ? null : 0.5 == proxy;\nconst c31 = const bool.fromEnvironment(\"x\") ? null : 0.5 != proxy;\nconst c32 = const bool.fromEnvironment(\"x\") ? null : \"\" == proxy;\nconst c33 = const bool.fromEnvironment(\"x\") ? null : \"\" != proxy;\nconst c34 = const bool.fromEnvironment(\"x\") ? null : Object;\nconst c35 = const bool.fromEnvironment(\"x\") ? null : null ?? 0;\nconst c36 = const bool.fromEnvironment(\"x\") ? null : const [0, 1];\nconst c37 = const bool.fromEnvironment(\"x\") ? null : const <int>[0, 1];\nconst c38 = const bool.fromEnvironment(\"x\") ? null : const {0, 1};\nconst c39 = const bool.fromEnvironment(\"x\") ? null : const <int>{0, 1};\nconst c40 = const bool.fromEnvironment(\"x\") ? null : const {0: 1, 2: 3};\nconst c41 = const bool.fromEnvironment(\"x\") ? null : const <int, int>{0: 1, 2: 3};\nconst c42 = const bool.fromEnvironment(\"x\") ? null : const <int, int>{0: 1, 0: 2};\nconst c43 = const bool.fromEnvironment(\"x\") ? null : const bool.fromEnvironment(\"foo\", defaultValue: false);\nconst c44 = const bool.fromEnvironment(\"x\") ? null : const int.fromEnvironment(\"foo\", defaultValue: 42);\nconst c45 = const bool.fromEnvironment(\"x\") ? null : const String.fromEnvironment(\"foo\", defaultValue: \"bar\");\nmain() {\n print(c0);\n print(c1);\n print(c2);\n print(c3);\n print(c4);\n print(c5);\n print(c6);\n print(c7);\n print(c8);\n print(c9);\n print(c10);\n print(c11);\n print(c12);\n print(c13);\n print(c14);\n print(c15);\n print(c16);\n print(c17);\n print(c18);\n print(c19);\n print(c20);\n print(c21);\n print(c22);\n print(c23);\n print(c24);\n print(c25);\n print(c26);\n print(c27);\n print(c28);\n print(c29);\n print(c30);\n print(c31);\n print(c32);\n print(c33);\n print(c34);\n print(c35);\n print(c36);\n print(c37);\n print(c38);\n print(c39);\n print(c40);\n print(c41);\n print(c42);\n print(c43);\n print(c44);\n print(c45);\n}\n\nmemory:main.dart:44:45:\nError: An entry with the same key already exists in the map.\nTry removing the previous entry or changing the key in one of the entries.\nconst c42 = const bool.fromEnvironment(\"x\") ? null : const <int, int>{0: 1, 0: 2};\n ^\nmemory:main.dart:35:45:\nError: `proxy` of type '_Proxy' is not a valid operand of a constant binary == expression. Must be a value of type 'bool', 'int', 'double', 'String', or 'Null'.\nconst c33 = const bool.fromEnvironment(\"x\") ? null : \"\" != proxy;\n ^\nmemory:main.dart:35:45:\nError: `\"\" == proxy` of type 'dynamic' is not a valid operand of a constant unary ! expression. Must be a value of type 'bool'.\nconst c33 = const bool.fromEnvironment(\"x\") ? null : \"\" != proxy;\n ^\nmemory:main.dart:34:45:\nError: `proxy` of type '_Proxy' is not a valid operand of a constant binary == expression. Must be a value of type 'bool', 'int', 'double', 'String', or 'Null'.\nconst c32 = const bool.fromEnvironment(\"x\") ? null : \"\" == proxy;\n ^\nmemory:main.dart:33:45:\nError: `proxy` of type '_Proxy' is not a valid operand of a constant binary == expression. Must be a value of type 'bool', 'int', 'double', 'String', or 'Null'.\nconst c31 = const bool.fromEnvironment(\"x\") ? null : 0.5 != proxy;\n ^\nmemory:main.dart:33:45:\nError: `0.5 == proxy` of type 'dynamic' is not a valid operand of a constant unary ! expression. Must be a value of type 'bool'.\nconst c31 = const bool.fromEnvironment(\"x\") ? null : 0.5 != proxy;\n ^\nmemory:main.dart:32:45:\nError: `proxy` of type '_Proxy' is not a valid operand of a constant binary == expression. Must be a value of type 'bool', 'int', 'double', 'String', or 'Null'.\nconst c30 = const bool.fromEnvironment(\"x\") ? null : 0.5 == proxy;\n ^\nmemory:main.dart:31:45:\nError: `proxy` of type '_Proxy' is not a valid operand of a constant binary == expression. Must be a value of type 'bool', 'int', 'double', 'String', or 'Null'.\nconst c29 = const bool.fromEnvironment(\"x\") ? null : 0 != proxy;\n ^\nmemory:main.dart:31:45:\nError: `0 == proxy` of type 'dynamic' is not a valid operand of a constant unary ! expression. Must be a value of type 'bool'.\nconst c29 = const bool.fromEnvironment(\"x\") ? null : 0 != proxy;\n ^\nmemory:main.dart:30:45:\nError: `proxy` of type '_Proxy' is not a valid operand of a constant binary == expression. Must be a value of type 'bool', 'int', 'double', 'String', or 'Null'.\nconst c28 = const bool.fromEnvironment(\"x\") ? null : 0 == proxy;\n ^\nmemory:main.dart:29:45:\nError: `proxy` of type '_Proxy' is not a valid operand of a constant binary == expression. Must be a value of type 'bool', 'int', 'double', 'String', or 'Null'.\nconst c27 = const bool.fromEnvironment(\"x\") ? null : true != proxy;\n ^\nmemory:main.dart:29:45:\nError: `true == proxy` of type 'dynamic' is not a valid operand of a constant unary ! expression. Must be a value of type 'bool'.\nconst c27 = const bool.fromEnvironment(\"x\") ? null : true != proxy;\n ^\nmemory:main.dart:28:45:\nError: `proxy` of type '_Proxy' is not a valid operand of a constant binary == expression. Must be a value of type 'bool', 'int', 'double', 'String', or 'Null'.\nconst c26 = const bool.fromEnvironment(\"x\") ? null : true == proxy;\n ^\nmemory:main.dart:2:7:\nInternal Error: The compiler crashed when compiling this element.\nconst c0 = const bool.fromEnvironment(\"x\") ? null : null;\n ^\nThe compiler is broken.\n\nWhen compiling the above element, the compiler crashed. It is not\npossible to tell if this is caused by a problem in your program or\nnot. Regardless, the compiler should not crash.\n\nThe Dart team would greatly appreciate if you would take a moment to\nreport this problem at http://dartbug.com/new.\n\nPlease include the following information:\n\n* the name and version of your operating system,\n\n* the Dart SDK build number (build number could not be determined), and\n\n* the entire message you see here (including the full stack trace\n below as well as the source location above).\n\nstderr:\nUnhandled exception:\ntype 'ConditionalExpression' is not a subtype of type 'ConstantExpression'\n#0 testData.runTest.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/tests/compiler/dart2js/model/cfe_constant_evaluation_test.dart:530:31)\n#1 CompilerDiagnosticReporter.withCurrentElement (package:compiler/src/compiler.dart:784:15)\n#2 testData.runTest.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/tests/compiler/dart2js/model/cfe_constant_evaluation_test.dart:522:25)\n#3 __InternalLinkedHashMap&_HashVMBase&MapMixin&_LinkedHashMapMixin.forEach (dart:collection-patch/compact_hash.dart:367:8)\n#4 testData.runTest (file:///b/s/w/ir/cache/builder/sdk/tests/compiler/dart2js/model/cfe_constant_evaluation_test.dart:519:15)\n<asynchronous suspension>\n#5 testData (file:///b/s/w/ir/cache/builder/sdk/tests/compiler/dart2js/model/cfe_constant_evaluation_test.dart:587:16)\n<asynchronous suspension>\n#6 main.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/tests/compiler/dart2js/model/cfe_constant_evaluation_test.dart:479:13)\n<asynchronous suspension>\n#7 asyncTest (package:async_helper/async_helper.dart:90:11)\n#8 main (file:///b/s/w/ir/cache/builder/sdk/tests/compiler/dart2js/model/cfe_constant_evaluation_test.dart:476:3)\n#9 _startIsolate.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:298:32)\n#10 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:171:12)\n\n--- Re-run this test:\npython tools/test.py -n unittest-asserts-no-sdk-linux dart2js/model/cfe_constant_evaluation_test\n"} {"name":"dart2js/end_to_end/generate_code_with_compile_time_errors_test","configuration":"unittest-asserts-no-sdk-linux","result":"RuntimeError","log":"--- Command \"vm\" (took 13.000829s):\nDART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart --enable_asserts --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages /b/s/w/ir/cache/builder/sdk/tests/compiler/dart2js/end_to_end/generate_code_with_compile_time_errors_test.dart\n\nexit code:\n255\n\nstdout:\nunittest-suite-wait-for-done\nmemory:main.dart:2:10:\nError: New expression is not a constant expression.\n const [ new List() ];\n ^^^\nmemory:main.dart:2:10:\nError: New expression is not a constant expression.\n const [ new List() ];\n ^^^\nmemory:main.dart:2:10:\nError: New expression is not a constant expression.\n const [ new List() ];\n ^^^\n\nstderr:\nUnhandled exception:\nExpect.equals(expected: <true>, actual: <false>, 'Expected generated code for options [--generate-code-with-compile-time-errors].') fails.\n#0 Expect._fail (package:expect/expect.dart:655:5)\n#1 Expect.equals (package:expect/expect.dart:126:5)\n#2 test (file:///b/s/w/ir/cache/builder/sdk/tests/compiler/dart2js/end_to_end/generate_code_with_compile_time_errors_test.dart:50:10)\n<asynchronous suspension>\n#3 main.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/tests/compiler/dart2js/end_to_end/generate_code_with_compile_time_errors_test.dart:69:11)\n<asynchronous suspension>\n#4 asyncTest (package:async_helper/async_helper.dart:90:11)\n#5 main (file:///b/s/w/ir/cache/builder/sdk/tests/compiler/dart2js/end_to_end/generate_code_with_compile_time_errors_test.dart:65:3)\n#6 _startIsolate.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:300:19)\n#7 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:171:12)\n\n--- Re-run this test:\npython tools/test.py -n unittest-asserts-no-sdk-linux dart2js/end_to_end/generate_code_with_compile_time_errors_test\n"} {"name":"dart2js/end_to_end/show_package_warnings_test","configuration":"unittest-asserts-no-sdk-linux","result":"RuntimeError","log":"--- Command \"vm\" (took 13.000513s):\nDART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart --enable_asserts --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages /b/s/w/ir/cache/builder/sdk/tests/compiler/dart2js/end_to_end/show_package_warnings_test.dart\n\nexit code:\n255\n\nstdout:\nunittest-suite-wait-for-done\n==================================================================\ntest: memory:main.dart showPackageWarnings=[]\n------------------------------------------------------------------\nmemory:pkg/pkg_error1/pkg_error1.dart:5:11:\nError: The getter 'length' isn't defined for the class 'Object'.\n - 'Object' is from 'dart:core'.\n o = o.length;\n ^^^^^^\nmemory:pkg/pkg_error2/pkg_error2.dart:5:11:\nError: The getter 'length' isn't defined for the class 'Object'.\n - 'Object' is from 'dart:core'.\n o = o.length;\n ^^^^^^\nmemory:error.dart:3:11:\nError: The getter 'length' isn't defined for the class 'Object'.\n - 'Object' is from 'dart:core'.\n o = o.length;\n ^^^^^^\n\nstderr:\nUnhandled exception:\nExpect.equals(expected: <0>, actual: <3>, 'Unexpected errors: (MessageKind.GENERIC:memory:pkg/pkg_error1/pkg_error1.dart:153:159:The getter 'length' isn't defined for the class 'Object'.\n - 'Object' is from 'dart:core'.:error, MessageKind.GENERIC:memory:pkg/pkg_error2/pkg_error2.dart:153:159:The getter 'length' isn't defined for the class 'Object'.\n - 'Object' is from 'dart:core'.:error, MessageKind.GENERIC:memory:error.dart:45:51:The getter 'length' isn't defined for the class 'Object'.\n - 'Object' is from 'dart:core'.:error)') fails.\n#0 Expect._fail (package:expect/expect.dart:655:5)\n#1 Expect.equals (package:expect/expect.dart:126:5)\n#2 test (file:///b/s/w/ir/cache/builder/sdk/tests/compiler/dart2js/end_to_end/show_package_warnings_test.dart:100:10)\n<asynchronous suspension>\n#3 main.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/tests/compiler/dart2js/end_to_end/show_package_warnings_test.dart:124:11)\n<asynchronous suspension>\n#4 asyncTest (package:async_helper/async_helper.dart:90:11)\n#5 main (file:///b/s/w/ir/cache/builder/sdk/tests/compiler/dart2js/end_to_end/show_package_warnings_test.dart:123:3)\n#6 _startIsolate.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:300:19)\n#7 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:171:12)\n\n--- Re-run this test:\npython tools/test.py -n unittest-asserts-no-sdk-linux dart2js/end_to_end/show_package_warnings_test\n"} {"name":"dart2js/codegen/gvn_dynamic_field_get_test","configuration":"unittest-asserts-no-sdk-linux","result":"RuntimeError","log":"--- Command \"vm\" (took 18.000202s):\nDART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart --enable_asserts --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages /b/s/w/ir/cache/builder/sdk/tests/compiler/dart2js/codegen/gvn_dynamic_field_get_test.dart\n\nexit code:\n255\n\nstdout:\nunittest-suite-wait-for-done\n--test from kernel------------------------------------------------\n\nstderr:\nUnhandled exception:\nExpect.isFalse(true, 'Found more than 1 matches') fails.\n#0 Expect._fail (package:expect/expect.dart:655:5)\n#1 Expect.isFalse (package:expect/expect.dart:144:5)\n#2 checkNumberOfMatches (file:///b/s/w/ir/cache/builder/sdk/tests/compiler/dart2js/helpers/compiler_helper.dart:146:10)\n#3 main.runTests (file:///b/s/w/ir/cache/builder/sdk/tests/compiler/dart2js/codegen/gvn_dynamic_field_get_test.dart:43:5)\n<asynchronous suspension>\n#4 main.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/tests/compiler/dart2js/codegen/gvn_dynamic_field_get_test.dart:56:19)\n<asynchronous suspension>\n#5 asyncTest (package:async_helper/async_helper.dart:90:11)\n#6 main (file:///b/s/w/ir/cache/builder/sdk/tests/compiler/dart2js/codegen/gvn_dynamic_field_get_test.dart:54:3)\n#7 _startIsolate.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:300:19)\n#8 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:171:12)\n\n--- Re-run this test:\npython tools/test.py -n unittest-asserts-no-sdk-linux dart2js/codegen/gvn_dynamic_field_get_test\n"} {"name":"dart2js/codegen/string_escapes_test","configuration":"unittest-asserts-no-sdk-linux","result":"RuntimeError","log":"--- Command \"vm\" (took 19.000195s):\nDART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart --enable_asserts --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages /b/s/w/ir/cache/builder/sdk/tests/compiler/dart2js/codegen/string_escapes_test.dart\n\nexit code:\n255\n\nstdout:\nunittest-suite-wait-for-done\n--test from kernel----------------------------------------------\n\nstderr:\nUnhandled exception:\nExpect.isTrue(false, 'function() {\n return \"\\n()\";\n}') fails.\n#0 Expect._fail (package:expect/expect.dart:655:5)\n#1 Expect.isTrue (package:expect/expect.dart:135:5)\n#2 main.runTests.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/tests/compiler/dart2js/codegen/string_escapes_test.dart:20:14)\n#3 _RootZone.runUnary (dart:async/zone.dart:1379:54)\n#4 _FutureListener.handleValue (dart:async/future_impl.dart:126:18)\n#5 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45)\n#6 Future._propagateToListeners (dart:async/future_impl.dart:668:32)\n#7 Future._complete (dart:async/future_impl.dart:473:7)\n#8 _SyncCompleter.complete (dart:async/future_impl.dart:51:12)\n#9 _AsyncAwaitCompleter.complete (dart:async-patch/async_patch.dart:28:18)\n#10 _completeOnAsyncReturn (dart:async-patch/async_patch.dart:294:13)\n#11 compile (file:///b/s/w/ir/cache/builder/sdk/tests/compiler/dart2js/helpers/compiler_helper.dart)\n<asynchronous suspension>\n#12 main.runTests.compileExpression (file:///b/s/w/ir/cache/builder/sdk/tests/compiler/dart2js/codegen/string_escapes_test.dart:16:14)\n#13 main.runTests (file:///b/s/w/ir/cache/builder/sdk/tests/compiler/dart2js/codegen/string_escapes_test.dart:19:28)\n<asynchronous suspension>\n#14 main.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/tests/compiler/dart2js/codegen/string_escapes_test.dart:101:19)\n<asynchronous suspension>\n#15 asyncTest (package:async_helper/async_helper.dart:90:11)\n#16 main (file:///b/s/w/ir/cache/builder/sdk/tests/compiler/dart2js/codegen/string_escapes_test.dart:99:3)\n#17 _startIsolate.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:300:19)\n#18 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:171:12)\n\n--- Re-run this test:\npython tools/test.py -n unittest-asserts-no-sdk-linux dart2js/codegen/string_escapes_test\n"} {"name":"dart2js/codegen/logical_expression_test","configuration":"unittest-asserts-no-sdk-linux","result":"RuntimeError","log":"--- Command \"vm\" (took 20.000616s):\nDART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart --enable_asserts --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages /b/s/w/ir/cache/builder/sdk/tests/compiler/dart2js/codegen/logical_expression_test.dart\n\nexit code:\n255\n\nstdout:\nunittest-suite-wait-for-done\n--test from kernel------------------------------------------------\n\nstderr:\nUnhandled exception:\nExpect.isTrue(false, 'Pattern 'var x = x == null;\n if \\(x\\) [^;]+;\n if \\(x \\|\\| [a-zA-Z0-9$.]+\\(\\) === true\\) [^;]+;\n if \\(x \\|\\| [a-zA-Z0-9$.]+\\(\\) === true\\) [^;]+;' not found in\nfunction(list, bar) {\n var t1 = list == null;\n if (t1)\n bar.call$0();\n t1 = !t1;\n if (!t1 || bar.call$0())\n bar.call$0();\n if (!t1 || bar.call$0())\n bar.call$0();\n}\nfrom source\nvoid foo(list, bar) {\n if (list == null) bar();\n if (list == null || bar()) bar();\n if (list == null || bar()) bar();\n}\n') fails.\n#0 Expect._fail (package:expect/expect.dart:655:5)\n#1 Expect.isTrue (package:expect/expect.dart:135:5)\n#2 compileAndMatchFuzzyHelper.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/tests/compiler/dart2js/helpers/compiler_helper.dart:184:14)\n#3 compile (file:///b/s/w/ir/cache/builder/sdk/tests/compiler/dart2js/helpers/compiler_helper.dart:91:10)\n<asynchronous suspension>\n#4 compileAndMatchFuzzyHelper (file:///b/s/w/ir/cache/builder/sdk/tests/compiler/dart2js/helpers/compiler_helper.dart:177:10)\n#5 compileAndMatchFuzzy (file:///b/s/w/ir/cache/builder/sdk/tests/compiler/dart2js/helpers/compiler_helper.dart:168:10)\n#6 main.runTests (file:///b/s/w/ir/cache/builder/sdk/tests/compiler/dart2js/codegen/logical_expression_test.dart:42:11)\n<asynchronous suspension>\n#7 main.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/tests/compiler/dart2js/codegen/logical_expression_test.dart:50:19)\n<asynchronous suspension>\n#8 asyncTest (package:async_helper/async_helper.dart:90:11)\n#9 main (file:///b/s/w/ir/cache/builder/sdk/tests/compiler/dart2js/codegen/logical_expression_test.dart:48:3)\n#10 _startIsolate.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:300:19)\n#11 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:171:12)\n\n--- Re-run this test:\npython tools/test.py -n unittest-asserts-no-sdk-linux dart2js/codegen/logical_expression_test\n"} {"name":"dart2js/codegen/side_effect_tdiv_regression_test","configuration":"unittest-asserts-no-sdk-linux","result":"RuntimeError","log":"--- Command \"vm\" (took 19.000848s):\nDART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart --enable_asserts --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages /b/s/w/ir/cache/builder/sdk/tests/compiler/dart2js/codegen/side_effect_tdiv_regression_test.dart\n\nexit code:\n255\n\nstdout:\nunittest-suite-wait-for-done\n--test from kernel----------------------------------------------\n\nstderr:\nUnhandled exception:\nExpect.isTrue(false, 'Expected generated code to contain 'return c + c;':\n// Generated by dart2js (fast startup emitter, strong), the Dart to JavaScript compiler.\n// The code supports the following hooks:\n// dartPrint(message):\n// if this function is defined it is called instead of the Dart [print]\n// method.\n//\n// dartMainRunner(main, args):\n// if this function is defined, the Dart [main] method will not be invoked\n// directly. Instead, a closure that will invoke [main], and its arguments\n// [args] is passed to [dartMainRunner].\n//\n// dartDeferredLibraryLoader(uri, successCallback, errorCallback):\n// if this function is defined, it will be called when a deferred library\n// is loaded. It should load and eval the javascript of `uri`, and call\n// successCallback. If it fails to do so, it should call errorCallback with\n// an error.\n//\n// dartCallInstrumentation(id, qualifiedName):\n// if this function is defined, it will be called at each entry of a\n// method or constructor. Used only when compiling programs with\n// --experiment-call-instrumentation.\n//\n// defaultPackagesBase:\n// Override the location where `package:` uris are resolved from. By default\n// they are resolved under \"packages/\" from the current window location.\n{\n}\n(function dartProgram() {\n function copyProperties(from, to) {\n var keys = Object.keys(from);\n for (var i = 0; i < keys.length; i++) {\n var key = keys[i];\n to[key] = from[key];\n }\n }\n var supportsDirectProtoAccess = function() {\n var cls = function() {\n };\n cls.prototype = {p: {}};\n var object = new cls();\n if (!(object.__proto__ && object.__proto__.p === cls.prototype.p))\n return false;\n try {\n if (typeof navigator != \"undefined\" && typeof navigator.userAgent == \"string\" && navigator.userAgent.indexOf(\"Chrome/\") >= 0)\n return true;\n if (typeof version == \"function\" && version.length == 0) {\n var v = version();\n if (/^\\d+\\.\\d+\\.\\d+\\.\\d+$/.test(v))\n return true;\n }\n } catch (_) {\n }\n return false;\n }();\n function setFunctionNamesIfNecessary(holders) {\n function t() {\n }\n ;\n if (typeof t.name == \"string\")\n return;\n for (var i = 0; i < holders.length; i++) {\n var holder = holders[i];\n var keys = Object.keys(holder);\n for (var j = 0; j < keys.length; j++) {\n var key = keys[j];\n var f = holder[key];\n if (typeof f == 'function')\n f.name = key;\n }\n }\n }\n function inherit(cls, sup) {\n cls.prototype.constructor = cls;\n cls.prototype[\"$is\" + cls.name] = cls;\n if (sup != null) {\n if (supportsDirectProtoAccess) {\n cls.prototype.__proto__ = sup.prototype;\n return;\n }\n var clsPrototype = Object.create(sup.prototype);\n copyProperties(cls.prototype, clsPrototype);\n cls.prototype = clsPrototype;\n }\n }\n function inheritMany(sup, classes) {\n for (var i = 0; i < classes.length; i++)\n inherit(classes[i], sup);\n }\n function mixin(cls, mixin) {\n copyProperties(mixin.prototype, cls.prototype);\n cls.prototype.constructor = cls;\n }\n function lazy(holder, name, getterName, initializer) {\n var uninitializedSentinel = holder;\n holder[name] = uninitializedSentinel;\n holder[getterName] = function() {\n holder[getterName] = function() {\n H.throwCyclicInit(name);\n };\n var result;\n var sentinelInProgress = initializer;\n try {\n if (holder[name] === uninitializedSentinel) {\n result = holder[name] = sentinelInProgress;\n result = holder[name] = initializer();\n } else\n result = holder[name];\n } finally {\n if (result === sentinelInProgress)\n holder[name] = null;\n holder[getterName] = function() {\n return this[name];\n };\n }\n return result;\n };\n }\n function makeConstList(list) {\n list.immutable$list = Array;\n list.fixed$length = Array;\n return list;\n }\n function convertToFastObject(properties) {\n function t() {\n }\n t.prototype = properties;\n new t();\n return properties;\n }\n function convertAllToFastObject(arrayOfObjects) {\n for (var i = 0; i < arrayOfObjects.length; ++i)\n convertToFastObject(arrayOfObjects[i]);\n }\n var functionCounter = 0;\n function tearOffGetter(funcs, applyTrampolineIndex, reflectionInfo, name, isIntercepted) {\n return isIntercepted ? new Function(\"funcs\", \"applyTrampolineIndex\", \"reflectionInfo\", \"name\", \"H\", \"c\", \"return function tearOff_\" + name + functionCounter++ + \"(receiver) {\" + \"if (c === null) c = \" + \"H.closureFromTearOff\" + \"(\" + \"this, funcs, applyTrampolineIndex, reflectionInfo, false, true, name);\" + \"return new c(this, funcs[0], receiver, name);\" + \"}\")(funcs, applyTrampolineIndex, reflectionInfo, name, H, null) : new Function(\"funcs\", \"applyTrampolineIndex\", \"reflectionInfo\", \"name\", \"H\", \"c\", \"return function tearOff_\" + name + functionCounter++ + \"() {\" + \"if (c === null) c = \" + \"H.closureFromTearOff\" + \"(\" + \"this, funcs, applyTrampolineIndex, reflectionInfo, false, false, name);\" + \"return new c(this, funcs[0], null, name);\" + \"}\")(funcs, applyTrampolineIndex, reflectionInfo, name, H, null);\n }\n function tearOff(funcs, applyTrampolineIndex, reflectionInfo, isStatic, name, isIntercepted) {\n var cache = null;\n return isStatic ? function() {\n if (cache === null)\n cache = H.closureFromTearOff(this, funcs, applyTrampolineIndex, reflectionInfo, true, false, name).prototype;\n return cache;\n } : tearOffGetter(funcs, applyTrampolineIndex, reflectionInfo, name, isIntercepted);\n }\n var typesOffset = 0;\n function installTearOff(container, getterName, isStatic, isIntercepted, requiredParameterCount, optionalParameterDefaultValues, callNames, funsOrNames, funType, applyIndex) {\n var funs = [];\n for (var i = 0; i < funsOrNames.length; i++) {\n var fun = funsOrNames[i];\n if (typeof fun == 'string')\n fun = container[fun];\n fun.$callName = callNames[i];\n funs.push(fun);\n }\n var fun = funs[0];\n fun.$requiredArgCount = requiredParameterCount;\n fun.$defaultValues = optionalParameterDefaultValues;\n var reflectionInfo = funType;\n if (typeof reflectionInfo == \"number\")\n reflectionInfo = reflectionInfo + typesOffset;\n var name = funsOrNames[0];\n fun.$stubName = name;\n var getterFunction = tearOff(funs, applyIndex || 0, reflectionInfo, isStatic, name, isIntercepted);\n container[getterName] = getterFunction;\n if (isStatic)\n fun.$tearOff = getterFunction;\n }\n function installStaticTearOff(container, getterName, requiredParameterCount, optionalParameterDefaultValues, callNames, funsOrNames, funType, applyIndex) {\n return installTearOff(container, getterName, true, false, requiredParameterCount, optionalParameterDefaultValues, callNames, funsOrNames, funType, applyIndex);\n }\n function installInstanceTearOff(container, getterName, isIntercepted, requiredParameterCount, optionalParameterDefaultValues, callNames, funsOrNames, funType, applyIndex) {\n return installTearOff(container, getterName, false, isIntercepted, requiredParameterCount, optionalParameterDefaultValues, callNames, funsOrNames, funType, applyIndex);\n }\n function setOrUpdateInterceptorsByTag(newTags) {\n var tags = init.interceptorsByTag;\n if (!tags) {\n init.interceptorsByTag = newTags;\n return;\n }\n copyProperties(newTags, tags);\n }\n function setOrUpdateLeafTags(newTags) {\n var tags = init.leafTags;\n if (!tags) {\n init.leafTags = newTags;\n return;\n }\n copyProperties(newTags, tags);\n }\n function updateTypes(newTypes) {\n var types = init.types;\n var length = types.length;\n types.push.apply(types, newTypes);\n return length;\n }\n function updateHolder(holder, newHolder) {\n copyProperties(newHolder, holder);\n return holder;\n }\n var hunkHelpers = function() {\n var mkInstance = function(isIntercepted, requiredParameterCount, optionalParameterDefaultValues, callNames, applyIndex) {\n return function(container, getterName, name, funType) {\n return installInstanceTearOff(container, getterName, isIntercepted, requiredParameterCount, optionalParameterDefaultValues, callNames, [name], funType, applyIndex);\n };\n },\n mkStatic = function(requiredParameterCount, optionalParameterDefaultValues, callNames, applyIndex) {\n return function(container, getterName, name, funType) {\n return installStaticTearOff(container, getterName, requiredParameterCount, optionalParameterDefaultValues, callNames, [name], funType, applyIndex);\n };\n };\n return {inherit: inherit, inheritMany: inheritMany, mixin: mixin, installStaticTearOff: installStaticTearOff, installInstanceTearOff: installInstanceTearOff, _instance_0u: mkInstance(0, 0, null, [\"call$0\"], 0), _instance_1u: mkInstance(0, 1, null, [\"call$1\"], 0), _instance_2u: mkInstance(0, 2, null, [\"call$2\"], 0), _instance_0i: mkInstance(1, 0, null, [\"call$0\"], 0), _instance_1i: mkInstance(1, 1, null, [\"call$1\"], 0), _instance_2i: mkInstance(1, 2, null, [\"call$2\"], 0), _static_0: mkStatic(0, null, [\"call$0\"], 0), _static_1: mkStatic(1, null, [\"call$1\"], 0), _static_2: mkStatic(2, null, [\"call$2\"], 0), makeConstList: makeConstList, lazy: lazy, updateHolder: updateHolder, convertToFastObject: convertToFastObject, setFunctionNamesIfNecessary: setFunctionNamesIfNecessary, updateTypes: updateTypes, setOrUpdateInterceptorsByTag: setOrUpdateInterceptorsByTag, setOrUpdateLeafTags: setOrUpdateLeafTags};\n }();\n function initializeDeferredHunk(hunk) {\n typesOffset = init.types.length;\n hunk(hunkHelpers, init, holders, $);\n }\n function getGlobalFromName(name) {\n for (var i = 0; i < holders.length; i++) {\n if (holders[i] == C)\n continue;\n if (holders[i][name])\n return holders[i][name];\n }\n }\n var C = {},\n H = {JS_CONST: function JS_CONST() {\n },\n isCheckPropertyToJsConstructorName: function(isCheckProperty) {\n return isCheckProperty.substring(3);\n },\n isDartFunctionType: function(type) {\n return 'func' in type;\n },\n isDartFutureOrType: function(type) {\n return 'futureOr' in type;\n },\n isDartVoidTypeRti: function(type) {\n return type === -1;\n },\n rawRtiToJsConstructorName: function(rti) {\n return rti.name;\n },\n unminifyOrTag: function(rawClassName) {\n var preserved = H.unmangleGlobalNameIfPreservedAnyways(rawClassName);\n if (typeof preserved === \"string\")\n return preserved;\n return rawClassName;\n },\n getRawRuntimeType: function(o) {\n return o.constructor;\n },\n builtinIsSubtype: function(type, other) {\n return '$is' + other in type.prototype;\n },\n isDartFunctionTypeRti: function(type) {\n return type.name === \"Function\";\n },\n isNullType: function(type) {\n return type.name === \"Null\";\n },\n isDartDynamicTypeRti: function(type) {\n return type == null;\n },\n isDartJsInteropTypeArgumentRti: function(type) {\n return type === -2;\n },\n isDartObjectTypeRti: function(type) {\n return type.name === \"Object\";\n },\n isNullTypeRti: function(type) {\n return type.name === \"Null\";\n },\n getType: function(index) {\n return init.types[H.intTypeCheck(index)];\n },\n S: function(value) {\n var res;\n if (typeof value === \"string\")\n return value;\n if (typeof value === \"number\") {\n if (value !== 0)\n return \"\" + value;\n } else if (true === value)\n return \"true\";\n else if (false === value)\n return \"false\";\n else if (value == null)\n return \"null\";\n res = J.toString$0$(value);\n if (typeof res !== \"string\")\n throw H.wrapException(H.argumentErrorValue(value));\n return res;\n },\n Primitives_formatType: function(className, typeArguments) {\n return H.unmangleAllIdentifiersIfPreservedAnyways(className + H.joinArguments(typeArguments, 0));\n },\n Primitives_objectTypeName: function(object) {\n return H.Primitives__objectClassName(object) + H.joinArguments(H.getRuntimeTypeInfo(object), 0);\n },\n Primitives__objectClassName: function(object) {\n var interceptorConstructorName, $name, t1, dispatchName, objectConstructor, match, decompiledName,\n interceptor = J.getInterceptor$(object),\n interceptorConstructor = interceptor.constructor;\n if (typeof interceptorConstructor == \"function\") {\n interceptorConstructorName = interceptorConstructor.name;\n $name = typeof interceptorConstructorName === \"string\" ? interceptorConstructorName : null;\n } else\n $name = null;\n t1 = $name == null;\n if (t1 || interceptor === C.Interceptor_methods || false) {\n dispatchName = H.constructorNameFallback(object);\n if (t1)\n $name = dispatchName;\n if (dispatchName === \"Object\") {\n objectConstructor = object.constructor;\n if (typeof objectConstructor == \"function\") {\n match = String(objectConstructor).match(/^\\s*function\\s*([\\w$]*)\\s*\\(/);\n decompiledName = match == null ? null : match[1];\n if (typeof decompiledName === \"string\" && /^\\w+$/.test(decompiledName))\n $name = decompiledName;\n }\n }\n return $name;\n }\n $name = $name;\n return H.unminifyOrTag($name.length > 1 && C.JSString_methods._codeUnitAt$1($name, 0) === 36 ? C.JSString_methods.substring$1($name, 1) : $name);\n },\n Primitives_objectToHumanReadableString: function(object) {\n return \"Instance of '\" + H.Primitives_objectTypeName(object) + \"'\";\n },\n Primitives_stringConcatUnchecked: function(string1, string2) {\n return string1 + string2;\n },\n Primitives_flattenString: function(str) {\n return str.charCodeAt(0) == 0 ? str : str;\n },\n JsCache_fetch: function(cache, key) {\n return cache[key];\n },\n iae: function(argument) {\n throw H.wrapException(H.argumentErrorValue(argument));\n },\n ioore: function(receiver, index) {\n if (receiver == null)\n J.get$length$as(receiver);\n throw H.wrapException(H.diagnoseIndexError(receiver, index));\n },\n diagnoseIndexError: function(indexable, index) {\n var $length, _s5_ = \"index\";\n if (typeof index !== \"number\" || Math.floor(index) !== index)\n return P.ArgumentError$value(index, _s5_, null);\n $length = J.get$length$as(indexable);\n if (index < 0 || index >= $length)\n return P.IndexError$(index, indexable, _s5_, null, $length);\n return P.RangeError$value(index, _s5_);\n },\n argumentErrorValue: function(object) {\n return P.ArgumentError$value(object, null, null);\n },\n wrapException: function(ex) {\n var wrapper;\n if (ex == null)\n ex = P.NullThrownError$();\n wrapper = new Error();\n wrapper.dartException = ex;\n if (\"defineProperty\" in Object) {\n Object.defineProperty(wrapper, \"message\", {get: H.toStringWrapper});\n wrapper.name = \"\";\n } else\n wrapper.toString = H.toStringWrapper;\n return wrapper;\n },\n toStringWrapper: function() {\n return J.toString$0$(this.dartException);\n },\n throwConcurrentModificationError: function(collection) {\n throw H.wrapException(P.ConcurrentModificationError$(collection));\n },\n stringTypeCheck: function(value) {\n if (value == null)\n return value;\n if (typeof value === \"string\")\n return value;\n throw H.wrapException(H.TypeErrorImplementation$(value, \"String\"));\n },\n intTypeCheck: function(value) {\n if (value == null)\n return value;\n if (typeof value === \"number\" && Math.floor(value) === value)\n return value;\n throw H.wrapException(H.TypeErrorImplementation$(value, \"int\"));\n },\n listTypeCheck: function(value) {\n if (value == null)\n return value;\n if (!!J.getInterceptor$(value).$isList)\n return value;\n throw H.wrapException(H.TypeErrorImplementation$(value, \"List<dynamic>\"));\n },\n extractFunctionTypeObjectFrom: function(o) {\n return H.extractFunctionTypeObjectFromInternal(J.getInterceptor$(o));\n },\n extractFunctionTypeObjectFromInternal: function(o) {\n var signature;\n if (\"$signature\" in o) {\n signature = o.$signature;\n if (typeof signature == \"number\")\n return H.getType(H.intTypeCheck(signature));\n else\n return o.$signature();\n }\n return;\n },\n functionTypeTest: function(value, functionTypeRti) {\n var functionTypeObject;\n if (typeof value == \"function\")\n return true;\n functionTypeObject = H.extractFunctionTypeObjectFrom(value);\n if (functionTypeObject == null)\n return false;\n return H.isFunctionSubtype(functionTypeObject, functionTypeRti);\n },\n TypeErrorImplementation$: function(value, type) {\n return new H.TypeErrorImplementation(\"TypeError: \" + P.Error_safeToString(value) + \": type '\" + H._typeDescription(value) + \"' is not a subtype of type '\" + type + \"'\");\n },\n _typeDescription: function(value) {\n var functionTypeObject;\n if (value instanceof H.Closure) {\n functionTypeObject = H.extractFunctionTypeObjectFrom(value);\n if (functionTypeObject != null)\n return H.runtimeTypeToString(functionTypeObject);\n return \"Closure\";\n }\n return H.Primitives_objectTypeName(value);\n },\n throwCyclicInit: function(staticName) {\n throw H.wrapException(P.CyclicInitializationError$(H.stringTypeCheck(staticName)));\n },\n jsonEncodeNative: function(string) {\n return JSON.stringify(string);\n },\n setRuntimeTypeInfo: function(target, rti) {\n target.$ti = rti;\n return target;\n },\n getRuntimeTypeInfo: function(target) {\n if (target == null)\n return;\n return target.$ti;\n },\n getTypeArgumentByIndex: function(target, index) {\n var rti;\n H.intTypeCheck(index);\n rti = H.getRuntimeTypeInfo(target);\n return rti == null ? null : H.getIndex(rti, index);\n },\n _getRuntimeTypeAsString: function(rti, genericContext) {\n H.assertSubtype(genericContext, \"$isList\", [P.String], \"$asList\");\n return H.unminifyOrTag(H.rawRtiToJsConstructorName(H.getIndex(rti, 0))) + H._joinArguments(rti, 1, genericContext);\n },\n runtimeTypeToString: function(rti) {\n return H._runtimeTypeToString(rti, null);\n },\n _runtimeTypeToString: function(rti, genericContext) {\n var t1, t2;\n H.assertSubtype(genericContext, \"$isList\", [P.String], \"$asList\");\n if (H.isDartDynamicTypeRti(rti))\n return \"dynamic\";\n if (H.isDartVoidTypeRti(rti))\n return \"void\";\n if (H.isJsArray(rti))\n return H._getRuntimeTypeAsString(rti, genericContext);\n if (H.isJsFunction(rti))\n return H.unminifyOrTag(H.rawRtiToJsConstructorName(rti));\n if (H.isDartJsInteropTypeArgumentRti(rti))\n return \"dynamic\";\n if (H.isGenericFunctionTypeParameter(rti)) {\n H.intTypeCheck(rti);\n if (genericContext != null) {\n if (typeof rti !== \"number\")\n return rti.$lt();\n t1 = rti < 0 || rti >= genericContext.length;\n } else\n t1 = true;\n if (t1)\n return \"unexpected-generic-index:\" + H.S(rti);\n t1 = genericContext.length;\n if (typeof rti !== \"number\")\n return H.iae(rti);\n t2 = t1 - rti - 1;\n if (t2 < 0 || t2 >= t1)\n return H.ioore(genericContext, t2);\n return H.S(genericContext[t2]);\n }\n if (H.isDartFunctionType(rti))\n return H._functionRtiToString(rti, genericContext);\n if (H.isDartFutureOrType(rti))\n return \"FutureOr<\" + H._runtimeTypeToString(H.getFutureOrArgument(rti), genericContext) + \">\";\n return \"unknown-reified-type\";\n },\n _functionRtiToString: function(rti, genericContext) {\n var boundsRti, outerContextLength, offset, i, i0, typeParameters, typeSep, t2, boundRti, returnTypeText, $arguments, argumentsText, sep, _i, argument, optionalArguments, namedArguments, t3, _s2_ = \", \",\n t1 = [P.String];\n H.assertSubtype(genericContext, \"$isList\", t1, \"$asList\");\n if (H.hasField(rti, \"bounds\")) {\n boundsRti = rti.bounds;\n if (genericContext == null) {\n genericContext = H.setRuntimeTypeInfo([], t1);\n outerContextLength = null;\n } else\n outerContextLength = genericContext.length;\n offset = genericContext.length;\n for (i = boundsRti.length, i0 = i; i0 > 0; --i0)\n C.JSArray_methods.add$1(genericContext, \"T\" + (offset + i0));\n for (typeParameters = \"<\", typeSep = \"\", i0 = 0; i0 < i; ++i0, typeSep = _s2_) {\n typeParameters += typeSep;\n t1 = genericContext.length;\n t2 = t1 - i0 - 1;\n if (t2 < 0)\n return H.ioore(genericContext, t2);\n typeParameters = C.JSString_methods.$add(typeParameters, genericContext[t2]);\n boundRti = boundsRti[i0];\n if (H.isInterestingBound(boundRti))\n typeParameters += \" extends \" + H._runtimeTypeToString(boundRti, genericContext);\n }\n typeParameters += \">\";\n } else {\n typeParameters = \"\";\n outerContextLength = null;\n }\n returnTypeText = !!rti.v ? \"void\" : H._runtimeTypeToString(rti.ret, genericContext);\n if (H.hasField(rti, \"args\")) {\n $arguments = rti.args;\n for (t1 = $arguments.length, argumentsText = \"\", sep = \"\", _i = 0; _i < t1; ++_i, sep = _s2_) {\n argument = $arguments[_i];\n argumentsText = argumentsText + sep + H._runtimeTypeToString(argument, genericContext);\n }\n } else {\n argumentsText = \"\";\n sep = \"\";\n }\n if (\"opt\" in rti) {\n optionalArguments = rti.opt;\n argumentsText += sep + \"[\";\n for (t1 = optionalArguments.length, sep = \"\", _i = 0; _i < t1; ++_i, sep = _s2_) {\n argument = optionalArguments[_i];\n argumentsText = argumentsText + sep + H._runtimeTypeToString(argument, genericContext);\n }\n argumentsText += \"]\";\n }\n if (\"named\" in rti) {\n namedArguments = rti.named;\n argumentsText += sep + \"{\";\n for (t1 = H.extractKeys(namedArguments), t2 = t1.length, sep = \"\", _i = 0; _i < t2; ++_i, sep = _s2_) {\n t3 = H.stringTypeCheck(t1[_i]);\n argumentsText = argumentsText + sep + H._runtimeTypeToString(namedArguments[t3], genericContext) + (\" \" + H.S(t3));\n }\n argumentsText += \"}\";\n }\n if (outerContextLength != null)\n genericContext.length = outerContextLength;\n return typeParameters + \"(\" + argumentsText + \") => \" + returnTypeText;\n },\n joinArguments: function(types, startIndex) {\n return H._joinArguments(types, startIndex, null);\n },\n _joinArguments: function(types, startIndex, genericContext) {\n var buffer, index, separator, allDynamic, argument;\n H.assertSubtype(genericContext, \"$isList\", [P.String], \"$asList\");\n if (types == null)\n return \"\";\n buffer = P.StringBuffer$(\"\");\n for (index = startIndex, separator = \"\", allDynamic = true; index < H.getLength(types); ++index, separator = \", \") {\n buffer.write$1(separator);\n argument = H.getIndex(types, index);\n if (argument != null)\n allDynamic = false;\n buffer.write$1(H._runtimeTypeToString(argument, genericContext));\n }\n return \"<\" + buffer.toString$0(0) + \">\";\n },\n substitute: function(substitution, $arguments) {\n if (substitution == null)\n return $arguments;\n substitution = H.invoke(substitution, $arguments);\n if (substitution == null)\n return;\n if (H.isJsArray(substitution))\n return substitution;\n if (H.isJsFunction(substitution))\n return H.invoke(substitution, $arguments);\n return $arguments;\n },\n checkSubtype: function(object, isField, checks, asField) {\n var $arguments, interceptor;\n H.stringTypeCheck(isField);\n H.listTypeCheck(checks);\n H.stringTypeCheck(asField);\n if (object == null)\n return false;\n $arguments = H.getRuntimeTypeInfo(object);\n interceptor = J.getInterceptor$(object);\n if (H.getField(interceptor, isField) == null)\n return false;\n return H.checkArguments(H.getField(interceptor, asField), $arguments, null, checks, null);\n },\n computeTypeName: function(isField, $arguments) {\n return H.Primitives_formatType(H.unminifyOrTag(H.isCheckPropertyToJsConstructorName(isField)), $arguments);\n },\n assertSubtype: function(object, isField, checks, asField) {\n H.stringTypeCheck(isField);\n H.listTypeCheck(checks);\n H.stringTypeCheck(asField);\n if (object == null)\n return object;\n if (H.checkSubtype(object, isField, checks, asField))\n return object;\n throw H.wrapException(H.TypeErrorImplementation$(object, H.computeTypeName(isField, checks)));\n },\n checkArguments: function(substitution, $arguments, sEnv, checks, tEnv) {\n return H.areSubtypes(H.substitute(substitution, $arguments), sEnv, checks, tEnv);\n },\n areSubtypes: function(s, sEnv, t, tEnv) {\n var len, i;\n if (t == null)\n return true;\n if (s == null) {\n len = H.getLength(t);\n for (i = 0; i < len; ++i)\n if (!H._isSubtype(null, null, H.getIndex(t, i), tEnv))\n return false;\n return true;\n }\n len = H.getLength(s);\n for (i = 0; i < len; ++i)\n if (!H._isSubtype(H.getIndex(s, i), sEnv, H.getIndex(t, i), tEnv))\n return false;\n return true;\n },\n isTopType: function(type) {\n return H.isDartDynamicTypeRti(type) || H.isDartVoidTypeRti(type) || H.isDartObjectTypeRti(type) || H.isDartJsInteropTypeArgumentRti(type);\n },\n isSupertypeOfNull: function(type) {\n return H.isSupertypeOfNullBase(type) || H.isSupertypeOfNullRecursive(type);\n },\n isSupertypeOfNullBase: function(type) {\n return H.isDartDynamicTypeRti(type) || H.isDartObjectTypeRti(type) || H.isNullTypeRti(type) || H.isDartVoidTypeRti(type) || H.isDartJsInteropTypeArgumentRti(type);\n },\n isSupertypeOfNullRecursive: function(type) {\n var typeArgument;\n if (H.isGenericFunctionTypeParameter(type))\n return false;\n if (H.isDartFutureOrType(type)) {\n typeArgument = H.getFutureOrArgument(type);\n return H.isSupertypeOfNullBase(type) || H.isSupertypeOfNullRecursive(typeArgument);\n }\n return false;\n },\n getFutureOrArgument: function(type) {\n return H.hasField(type, \"type\") ? H.getField(type, \"type\") : null;\n },\n checkSubtypeOfRuntimeType: function(o, t) {\n var type, rti;\n if (o == null)\n return H.isSupertypeOfNull(t);\n if (H.isTopType(t))\n return true;\n if (typeof t == \"object\") {\n if (H.isDartFutureOrType(t))\n if (H.checkSubtypeOfRuntimeType(o, H.getFutureOrArgument(t)))\n return true;\n if (H.isDartFunctionType(t))\n return H.functionTypeTest(o, t);\n }\n type = H.getRawRuntimeType(J.getInterceptor$(o));\n rti = H.getRuntimeTypeInfo(o);\n if (rti != null) {\n rti = rti.slice();\n rti.splice(0, 0, type);\n type = rti;\n }\n return H.isSubtype(type, t);\n },\n assertSubtypeOfRuntimeType: function(object, type) {\n if (object != null && !H.checkSubtypeOfRuntimeType(object, type))\n throw H.wrapException(H.TypeErrorImplementation$(object, H.runtimeTypeToString(type)));\n return object;\n },\n getArguments: function(type) {\n return H.isJsArray(type) ? type.slice(1) : null;\n },\n isSubtype: function(s, t) {\n return H._isSubtype(s, null, t, null);\n },\n _isSubtype: function(s, sEnv, t, tEnv) {\n var typeOfS, tTypeArgument, futureArguments, typeOfT, typeOfTString, substitution;\n if (H.isIdentical(s, t))\n return true;\n if (H.isTopType(t))\n return true;\n if (H.isDartJsInteropTypeArgumentRti(s))\n return true;\n if (H.isTopType(s)) {\n if (H.isGenericFunctionTypeParameter(t))\n return false;\n if (H.isDartFutureOrType(t))\n return H._isSubtype(s, sEnv, H.getFutureOrArgument(t), tEnv);\n return false;\n }\n if (H.isGenericFunctionTypeParameter(s))\n return false;\n if (H.isGenericFunctionTypeParameter(t))\n return false;\n if (H.isNullType(s))\n return true;\n if (H.isDartFunctionType(t))\n return H._isFunctionSubtype(s, sEnv, t, tEnv);\n if (H.isDartFunctionType(s))\n return H.isDartFunctionTypeRti(t);\n typeOfS = H.isJsArray(s) ? H.getIndex(s, 0) : s;\n if (H.isDartFutureOrType(t)) {\n tTypeArgument = H.getFutureOrArgument(t);\n if (H.isDartFutureOrType(s))\n return H._isSubtype(H.getFutureOrArgument(s), sEnv, tTypeArgument, tEnv);\n else if (H._isSubtype(s, sEnv, tTypeArgument, tEnv))\n return true;\n else {\n if (!H.builtinIsSubtype(typeOfS, \"Future\"))\n return false;\n futureArguments = H.substitute(H.getField(typeOfS.prototype, \"$as\" + \"Future\"), H.getArguments(s));\n return H._isSubtype(H.isJsArray(futureArguments) ? H.getIndex(futureArguments, 0) : null, sEnv, tTypeArgument, tEnv);\n }\n }\n typeOfT = H.isJsArray(t) ? H.getIndex(t, 0) : t;\n if (H.isNotIdentical(typeOfT, typeOfS)) {\n typeOfTString = H.rawRtiToJsConstructorName(typeOfT);\n if (!H.builtinIsSubtype(typeOfS, typeOfTString))\n return false;\n substitution = H.getField(typeOfS.prototype, \"$as\" + typeOfTString);\n } else\n substitution = null;\n if (!H.isJsArray(t))\n return true;\n return H.checkArguments(substitution, H.getArguments(s), sEnv, H.getArguments(t), tEnv);\n },\n isFunctionSubtype: function(s, t) {\n return H._isFunctionSubtype(s, null, t, null);\n },\n _isFunctionSubtype: function(s, sEnv, t, tEnv) {\n var sBounds, tBounds, sParameterTypes, tParameterTypes, sOptionalParameterTypes, tOptionalParameterTypes, sParametersLen, tParametersLen, sOptionalParametersLen, tOptionalParametersLen, pos, tPos, sPos, sNamedParameters, tNamedParameters;\n if (!H.isDartFunctionType(s))\n return false;\n if (H.hasField(s, \"bounds\")) {\n if (H.hasNoField(t, \"bounds\"))\n return false;\n sBounds = H.getField(s, \"bounds\");\n tBounds = H.getField(t, \"bounds\");\n if (H.getLength(sBounds) !== H.getLength(tBounds))\n return false;\n } else if (H.hasField(t, \"bounds\"))\n return false;\n if (!H._isSubtype(H.getField(s, \"ret\"), sEnv, H.getField(t, \"ret\"), tEnv))\n return false;\n sParameterTypes = H.getField(s, \"args\");\n tParameterTypes = H.getField(t, \"args\");\n sOptionalParameterTypes = H.getField(s, \"opt\");\n tOptionalParameterTypes = H.getField(t, \"opt\");\n sParametersLen = sParameterTypes != null ? H.getLength(sParameterTypes) : 0;\n tParametersLen = tParameterTypes != null ? H.getLength(tParameterTypes) : 0;\n sOptionalParametersLen = sOptionalParameterTypes != null ? H.getLength(sOptionalParameterTypes) : 0;\n tOptionalParametersLen = tOptionalParameterTypes != null ? H.getLength(tOptionalParameterTypes) : 0;\n if (sParametersLen > tParametersLen)\n return false;\n if (sParametersLen + sOptionalParametersLen < tParametersLen + tOptionalParametersLen)\n return false;\n for (pos = 0; pos < sParametersLen; ++pos)\n if (!H._isSubtype(H.getIndex(tParameterTypes, pos), tEnv, H.getIndex(sParameterTypes, pos), sEnv))\n return false;\n for (tPos = pos, sPos = 0; tPos < tParametersLen; ++sPos, ++tPos)\n if (!H._isSubtype(H.getIndex(tParameterTypes, tPos), tEnv, H.getIndex(sOptionalParameterTypes, sPos), sEnv))\n return false;\n for (tPos = 0; tPos < tOptionalParametersLen; ++sPos, ++tPos)\n if (!H._isSubtype(H.getIndex(tOptionalParameterTypes, tPos), tEnv, H.getIndex(sOptionalParameterTypes, sPos), sEnv))\n return false;\n sNamedParameters = H.getField(s, \"named\");\n tNamedParameters = H.getField(t, \"named\");\n if (tNamedParameters == null)\n return true;\n if (sNamedParameters == null)\n return false;\n return H.namedParametersSubtypeCheck(sNamedParameters, sEnv, tNamedParameters, tEnv);\n },\n namedParametersSubtypeCheck: function(s, sEnv, t, tEnv) {\n var t1, i, $name,\n names = Object.getOwnPropertyNames(t);\n for (t1 = names.length, i = 0; i < t1; ++i) {\n $name = names[i];\n if (!Object.hasOwnProperty.call(s, $name))\n return false;\n if (!H._isSubtype(t[$name], tEnv, s[$name], sEnv))\n return false;\n }\n return true;\n },\n isGenericFunctionTypeParameter: function(type) {\n return typeof type === \"number\";\n },\n invoke: function($function, $arguments) {\n return H.invokeOn($function, null, $arguments);\n },\n invokeOn: function($function, receiver, $arguments) {\n return $function.apply(receiver, $arguments);\n },\n getField: function(object, $name) {\n return object[$name];\n },\n getIndex: function(array, index) {\n return array[index];\n },\n getLength: function(array) {\n return array.length;\n },\n isJsArray: function(value) {\n return typeof value === \"object\" && value !== null && value.constructor === Array;\n },\n hasField: function(object, $name) {\n return $name in object;\n },\n hasNoField: function(object, $name) {\n return !H.hasField(object, $name);\n },\n isJsFunction: function(o) {\n return typeof o == \"function\";\n },\n isIdentical: function(s, t) {\n return s === t;\n },\n isNotIdentical: function(s, t) {\n return s !== t;\n },\n isInterestingBound: function(rti) {\n return rti != null && H.isNotIdentical(rti, P.Object);\n },\n constructorNameFallback: function(object) {\n return C.C_JS_CONST(object);\n },\n Closure: function Closure() {\n },\n TypeErrorImplementation: function TypeErrorImplementation(t0) {\n this.message = t0;\n },\n printToConsole: function(line) {\n H.printString(line);\n },\n extractKeys: function(victim) {\n return J.JSArray_JSArray$markFixed(victim ? Object.keys(victim) : [], null);\n },\n unmangleGlobalNameIfPreservedAnyways: function($name) {\n return H.stringTypeCheck(H.JsCache_fetch(init.mangledGlobalNames, $name));\n },\n unmangleAllIdentifiersIfPreservedAnyways: function(str) {\n return function(str, names) {\n return str.replace(/[^<,> ]+/g, function(m) {\n return names[m] || m;\n });\n }(str, init.mangledGlobalNames);\n },\n printString: function(string) {\n if (typeof dartPrint == \"function\") {\n dartPrint(string);\n return;\n }\n if (typeof console == \"object\" && typeof console.log != \"undefined\") {\n console.log(string);\n return;\n }\n if (typeof window == \"object\")\n return;\n if (typeof print == \"function\") {\n print(string);\n return;\n }\n throw \"Unable to print message: \" + String(string);\n }\n },\n J = {\n JSArray_JSArray$typed: function(allocation, $E) {\n return allocation;\n },\n JSArray_JSArray$markFixed: function(allocation, $E) {\n return J.JSArray_markFixedList(H.setRuntimeTypeInfo(J.JSArray_JSArray$typed(allocation, $E), [$E]));\n },\n JSArray_markFixedList: function(list) {\n H.listTypeCheck(list);\n list.fixed$length = Array;\n return list;\n },\n ArrayIterator$: function(iterable, $E) {\n return new J.ArrayIterator(iterable, iterable.length, [$E]);\n },\n getInterceptor$: function(receiver) {\n if (typeof receiver == \"number\") {\n if (Math.floor(receiver) == receiver)\n return J.JSInt.prototype;\n return J.JSDouble.prototype;\n }\n if (typeof receiver == \"string\")\n return J.JSString.prototype;\n if (receiver == null)\n return J.JSNull.prototype;\n if (typeof receiver == \"boolean\")\n return J.JSBool.prototype;\n if (receiver.constructor == Array)\n return J.JSArray.prototype;\n return receiver;\n },\n getInterceptor$as: function(receiver) {\n if (typeof receiver == \"string\")\n return J.JSString.prototype;\n if (receiver == null)\n return receiver;\n if (receiver.constructor == Array)\n return J.JSArray.prototype;\n return receiver;\n },\n get$length$as: function(receiver) {\n return J.getInterceptor$as(receiver).get$length(receiver);\n },\n toString$0$: function(receiver) {\n return J.getInterceptor$(receiver).toString$0(receiver);\n },\n Interceptor: function Interceptor() {\n },\n JSBool: function JSBool() {\n },\n JSNull: function JSNull() {\n },\n JSArray: function JSArray(t0) {\n this.$ti = t0;\n },\n JSUnmodifiableArray: function JSUnmodifiableArray(t0) {\n this.$ti = t0;\n },\n ArrayIterator: function ArrayIterator(t0, t1, t2) {\n var _ = this;\n _._iterable = t0;\n _._length = t1;\n _._index = 0;\n _._current = null;\n _.$ti = t2;\n },\n JSNumber: function JSNumber() {\n },\n JSInt: function JSInt() {\n },\n JSDouble: function JSDouble() {\n },\n JSString: function JSString() {\n }\n },\n P = {\n Error__objectToString: function(object) {\n if (object instanceof H.Closure)\n return object.toString$0(0);\n return H.Primitives_objectToHumanReadableString(object);\n },\n Error__stringToSafeString: function(string) {\n return H.jsonEncodeNative(string);\n },\n StringBuffer$: function($content) {\n return new P.StringBuffer($content);\n },\n StringBuffer__writeAll: function(string, objects, separator) {\n var iterator = C.JSArray_methods.get$iterator(objects);\n if (!iterator.moveNext$0())\n return string;\n if (C.JSString_methods.get$isEmpty(separator)) {\n do\n string = P.StringBuffer__writeOne(string, iterator.get$current());\n while (iterator.moveNext$0());\n } else {\n string = P.StringBuffer__writeOne(string, iterator.get$current());\n for (; iterator.moveNext$0();)\n string = P.StringBuffer__writeOne(P.StringBuffer__writeOne(string, separator), iterator.get$current());\n }\n return string;\n },\n StringBuffer__writeOne: function(string, obj) {\n return H.Primitives_stringConcatUnchecked(string, H.S(obj));\n },\n Error_safeToString: function(object) {\n if (typeof object === \"number\" || typeof object === \"boolean\" || null == object)\n return J.toString$0$(object);\n if (typeof object === \"string\")\n return P.Error__stringToSafeString(object);\n return P.Error__objectToString(object);\n },\n NullThrownError$: function() {\n return new P.NullThrownError();\n },\n ArgumentError$value: function(value, $name, message) {\n return new P.ArgumentError(value, $name, message);\n },\n RangeError$value: function(value, $name) {\n return new P.RangeError(value, $name, \"Value not in range\");\n },\n IndexError$: function(invalidValue, indexable, $name, message, $length) {\n return new P.IndexError($length, invalidValue, $name, \"Index out of range\");\n },\n UnsupportedError$: function(message) {\n return new P.UnsupportedError(message);\n },\n ConcurrentModificationError$: function(modifiedObject) {\n return new P.ConcurrentModificationError(modifiedObject);\n },\n CyclicInitializationError$: function(variableName) {\n return new P.CyclicInitializationError(variableName);\n },\n print: function(object) {\n H.printToConsole(\"\" + object);\n },\n bool: function bool() {\n },\n double: function double() {\n },\n Error: function Error() {\n },\n NullThrownError: function NullThrownError() {\n },\n ArgumentError: function ArgumentError(t0, t1, t2) {\n this.invalidValue = t0;\n this.name = t1;\n this.message = t2;\n },\n RangeError: function RangeError(t0, t1, t2) {\n this.invalidValue = t0;\n this.name = t1;\n this.message = t2;\n },\n IndexError: function IndexError(t0, t1, t2, t3) {\n var _ = this;\n _.length = t0;\n _.invalidValue = t1;\n _.name = t2;\n _.message = t3;\n },\n UnsupportedError: function UnsupportedError(t0) {\n this.message = t0;\n },\n ConcurrentModificationError: function ConcurrentModificationError(t0) {\n this.modifiedObject = t0;\n },\n CyclicInitializationError: function CyclicInitializationError(t0) {\n this.variableName = t0;\n },\n int: function int() {\n },\n List: function List() {\n },\n Null: function Null() {\n },\n num: function num() {\n },\n Object: function Object() {\n },\n String: function String() {\n },\n StringBuffer: function StringBuffer(t0) {\n this._contents = t0;\n },\n IterableBase_iterableToFullString: function(iterable, leftDelimiter, rightDelimiter) {\n var buffer;\n if (P._isToStringVisiting(iterable))\n return leftDelimiter + \"...\" + rightDelimiter;\n buffer = P.StringBuffer$(leftDelimiter);\n C.JSArray_methods.add$1($._toStringVisiting, iterable);\n try {\n buffer.writeAll$2(iterable, \", \");\n } finally {\n if (0 >= $._toStringVisiting.length)\n return H.ioore($._toStringVisiting, -1);\n $._toStringVisiting.pop();\n }\n buffer.write$1(rightDelimiter);\n return J.toString$0$(buffer);\n },\n _isToStringVisiting: function(o) {\n var t1, i;\n for (t1 = $._toStringVisiting.length, i = 0; i < t1; ++i)\n if (o === $._toStringVisiting[i])\n return true;\n return false;\n },\n ListBase_listToString: function(list) {\n return P.IterableBase_iterableToFullString(list, \"[\", \"]\");\n }\n },\n F = {\n A$: function() {\n return new F.A();\n },\n main: function() {\n var a = F.A$(),\n b = [42, -1],\n c = a.field;\n P.print(C.JSInt_methods.$tdiv(b[0], b[1]));\n return c + a.field;\n },\n A: function A() {\n this.field = 42;\n }\n };\n var holders = [C, H, J, P, F];\n hunkHelpers.setFunctionNamesIfNecessary(holders);\n var $ = {};\n H.JS_CONST.prototype = {};\n J.Interceptor.prototype = {\n toString$0: function(receiver) {\n return H.Primitives_objectToHumanReadableString(receiver);\n }\n };\n J.JSBool.prototype = {\n toString$0: function(receiver) {\n return String(receiver);\n },\n $isbool: 1\n };\n J.JSNull.prototype = {\n toString$0: function(receiver) {\n return \"null\";\n }\n };\n J.JSArray.prototype = {\n checkGrowable$1: function(receiver, reason) {\n if (!!receiver.fixed$length)\n throw H.wrapException(P.UnsupportedError$(reason));\n },\n add$1: function(receiver, value) {\n H.assertSubtypeOfRuntimeType(value, H.getTypeArgumentByIndex(receiver, 0));\n this.checkGrowable$1(receiver, \"add\");\n receiver.push(value);\n },\n toString$0: function(receiver) {\n return P.ListBase_listToString(receiver);\n },\n get$iterator: function(receiver) {\n return J.ArrayIterator$(receiver, H.getTypeArgumentByIndex(receiver, 0));\n },\n get$length: function(receiver) {\n return receiver.length;\n },\n $isIterable: 1,\n $isList: 1\n };\n J.JSUnmodifiableArray.prototype = {};\n J.ArrayIterator.prototype = {\n get$current: function() {\n return this._current;\n },\n moveNext$0: function() {\n var t2, _this = this,\n t1 = _this._iterable,\n $length = t1.length;\n if (_this._length !== $length)\n throw H.wrapException(H.throwConcurrentModificationError(t1));\n t2 = _this._index;\n if (t2 >= $length) {\n _this.set$_current(null);\n return false;\n }\n _this.set$_current(t1[t2]);\n ++_this._index;\n return true;\n },\n set$_current: function(_current) {\n this._current = H.assertSubtypeOfRuntimeType(_current, H.getTypeArgumentByIndex(this, 0));\n }\n };\n J.JSNumber.prototype = {\n toString$0: function(receiver) {\n if (receiver === 0 && 1 / receiver < 0)\n return \"-0.0\";\n else\n return \"\" + receiver;\n },\n _isInt32$1: function(receiver, value) {\n return (value | 0) === value;\n },\n $tdiv: function(receiver, other) {\n if (this._isInt32$1(receiver, receiver))\n if (other >= 1 || other < -1)\n return receiver / other | 0;\n return this._tdivSlow$1(receiver, other);\n },\n _tdivSlow$1: function(receiver, other) {\n var quotient = receiver / other;\n if (quotient >= -2147483648 && quotient <= 2147483647)\n return quotient | 0;\n if (quotient > 0) {\n if (quotient !== 1 / 0)\n return Math.floor(quotient);\n } else if (quotient > -1 / 0)\n return Math.ceil(quotient);\n throw H.wrapException(P.UnsupportedError$(\"Result of truncating division is \" + H.S(quotient) + \": \" + H.S(receiver) + \" ~/ \" + other));\n },\n $isnum: 1\n };\n J.JSInt.prototype = {$isint: 1};\n J.JSDouble.prototype = {};\n J.JSString.prototype = {\n _codeUnitAt$1: function(receiver, index) {\n if (index >= receiver.length)\n throw H.wrapException(H.diagnoseIndexError(receiver, index));\n return receiver.charCodeAt(index);\n },\n $add: function(receiver, other) {\n if (typeof other !== \"string\")\n throw H.wrapException(P.ArgumentError$value(other, null, null));\n return receiver + other;\n },\n substring$1: function(receiver, startIndex) {\n var endIndex = receiver.length;\n if (startIndex > endIndex)\n throw H.wrapException(P.RangeError$value(startIndex, null));\n if (endIndex > endIndex)\n throw H.wrapException(P.RangeError$value(endIndex, null));\n return receiver.substring(startIndex, endIndex);\n },\n get$isEmpty: function(receiver) {\n return receiver.length === 0;\n },\n toString$0: function(receiver) {\n return receiver;\n },\n get$length: function(receiver) {\n return receiver.length;\n },\n $isString: 1\n };\n H.Closure.prototype = {\n get$$call: function() {\n return this;\n },\n \"call*\": \"call$1\",\n $requiredArgCount: 1,\n $defaultValues: null\n };\n H.TypeErrorImplementation.prototype = {\n toString$0: function(_) {\n return this.message;\n }\n };\n P.bool.prototype = {\n toString$0: function(_) {\n return this ? \"true\" : \"false\";\n }\n };\n P.double.prototype = {};\n P.Error.prototype = {};\n P.NullThrownError.prototype = {\n toString$0: function(_) {\n return \"Throw of null.\";\n }\n };\n P.ArgumentError.prototype = {\n get$_errorName: function() {\n return \"Invalid argument\";\n },\n get$_errorExplanation: function() {\n return \"\";\n },\n toString$0: function(_) {\n var message, prefix, explanation, errorValue, _this = this,\n t1 = _this.name,\n nameString = t1 != null ? \" (\" + t1 + \")\" : \"\";\n t1 = _this.message;\n message = t1 == null ? \"\" : \": \" + t1;\n prefix = _this.get$_errorName() + nameString + message;\n explanation = _this.get$_errorExplanation();\n errorValue = P.Error_safeToString(_this.invalidValue);\n return prefix + explanation + \": \" + errorValue;\n }\n };\n P.RangeError.prototype = {\n get$_errorName: function() {\n return \"RangeError\";\n },\n get$_errorExplanation: function() {\n return \"\";\n }\n };\n P.IndexError.prototype = {\n get$_errorName: function() {\n return \"RangeError\";\n },\n get$_errorExplanation: function() {\n var t1,\n invalidValue = H.intTypeCheck(this.invalidValue);\n if (typeof invalidValue !== \"number\")\n return invalidValue.$lt();\n if (invalidValue < 0)\n return \": index must not be negative\";\n t1 = this.length;\n if (t1 === 0)\n return \": no indices are valid\";\n return \": index should be less than \" + t1;\n },\n get$length: function(receiver) {\n return this.length;\n }\n };\n P.UnsupportedError.prototype = {\n toString$0: function(_) {\n return \"Unsupported operation: \" + this.message;\n }\n };\n P.ConcurrentModificationError.prototype = {\n toString$0: function(_) {\n var t1 = this.modifiedObject;\n if (t1 == null)\n return \"Concurrent modification during iteration.\";\n return \"Concurrent modification during iteration: \" + P.Error_safeToString(t1) + \".\";\n }\n };\n P.CyclicInitializationError.prototype = {\n toString$0: function(_) {\n var t1 = this.variableName;\n return t1 == null ? \"Reading static variable during its initialization\" : \"Reading static variable '\" + t1 + \"' during its initialization\";\n }\n };\n P.int.prototype = {};\n P.List.prototype = {$isIterable: 1};\n P.Null.prototype = {\n toString$0: function(_) {\n return \"null\";\n }\n };\n P.num.prototype = {};\n P.Object.prototype = {constructor: P.Object, $isObject: 1,\n toString$0: function(_) {\n return H.Primitives_objectToHumanReadableString(this);\n },\n toString: function() {\n return this.toString$0(this);\n }\n };\n P.String.prototype = {};\n P.StringBuffer.prototype = {\n get$length: function(_) {\n return this._contents.length;\n },\n write$1: function(obj) {\n this._writeString$1(obj);\n },\n writeAll$2: function(objects, separator) {\n this._contents = P.StringBuffer__writeAll(this._contents, objects, separator);\n },\n toString$0: function(_) {\n return H.Primitives_flattenString(this._contents);\n },\n _writeString$1: function(str) {\n this._contents = H.Primitives_stringConcatUnchecked(this._contents, str);\n }\n };\n F.A.prototype = {};\n (function inheritance() {\n var _inherit = hunkHelpers.inherit,\n _inheritMany = hunkHelpers.inheritMany;\n _inherit(P.Object, null);\n _inheritMany(P.Object, [H.JS_CONST, J.Interceptor, J.ArrayIterator, H.Closure, P.Error, P.bool, P.num, P.List, P.Null, P.String, P.StringBuffer, F.A]);\n _inheritMany(J.Interceptor, [J.JSBool, J.JSNull, J.JSArray, J.JSNumber, J.JSString]);\n _inherit(J.JSUnmodifiableArray, J.JSArray);\n _inheritMany(J.JSNumber, [J.JSInt, J.JSDouble]);\n _inheritMany(P.Error, [H.TypeErrorImplementation, P.NullThrownError, P.ArgumentError, P.UnsupportedError, P.ConcurrentModificationError, P.CyclicInitializationError]);\n _inheritMany(P.num, [P.double, P.int]);\n _inheritMany(P.ArgumentError, [P.RangeError, P.IndexError]);\n })();\n (function constants() {\n C.Interceptor_methods = J.Interceptor.prototype;\n C.JSArray_methods = J.JSArray.prototype;\n C.JSInt_methods = J.JSInt.prototype;\n C.JSString_methods = J.JSString.prototype;\n C.C_JS_CONST = function getTagFallback(o) {\n var s = Object.prototype.toString.call(o);\n return s.substring(8, s.length - 1);\n};\n })();\n var init = {mangledGlobalNames: {int: \"int\", double: \"double\", num: \"num\", String: \"String\", bool: \"bool\", Null: \"Null\", List: \"List\"}, mangledNames: {}, getTypeFromName: getGlobalFromName, metadata: [], types: []};\n (function staticFields() {\n $._toStringVisiting = [];\n })();\n convertAllToFastObject(holders);\n convertToFastObject($);\n (function(callback) {\n if (typeof document === \"undefined\") {\n callback(null);\n return;\n }\n if (typeof document.currentScript != 'undefined') {\n callback(document.currentScript);\n return;\n }\n var scripts = document.scripts;\n function onLoad(event) {\n for (var i = 0; i < scripts.length; ++i)\n scripts[i].removeEventListener(\"load\", onLoad, false);\n callback(event.target);\n }\n for (var i = 0; i < scripts.length; ++i)\n scripts[i].addEventListener(\"load\", onLoad, false);\n })(function(currentScript) {\n init.currentScript = currentScript;\n if (typeof dartMainRunner === \"function\")\n dartMainRunner(F.main, []);\n else\n F.main([]);\n });\n})();\n') fails.\n#0 Expect._fail (package:expect/expect.dart:655:5)\n#1 Expect.isTrue (package:expect/expect.dart:135:5)\n#2 main.runTest (file:///b/s/w/ir/cache/builder/sdk/tests/compiler/dart2js/codegen/side_effect_tdiv_regression_test.dart:28:12)\n<asynchronous suspension>\n#3 main.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/tests/compiler/dart2js/codegen/side_effect_tdiv_regression_test.dart:34:18)\n<asynchronous suspension>\n#4 asyncTest (package:async_helper/async_helper.dart:90:11)\n#5 main (file:///b/s/w/ir/cache/builder/sdk/tests/compiler/dart2js/codegen/side_effect_tdiv_regression_test.dart:32:3)\n#6 _startIsolate.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:300:19)\n#7 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:171:12)\n\n--- Re-run this test:\npython tools/test.py -n unittest-asserts-no-sdk-linux dart2js/codegen/side_effect_tdiv_regression_test\n"} {"name":"dart2js/codegen/list_tracer_length_test","configuration":"unittest-asserts-no-sdk-linux","result":"RuntimeError","log":"--- Command \"vm\" (took 27.000752s):\nDART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart --enable_asserts --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages /b/s/w/ir/cache/builder/sdk/tests/compiler/dart2js/codegen/list_tracer_length_test.dart\n\nexit code:\n255\n\nstdout:\nunittest-suite-wait-for-done\n\nstderr:\nUnhandled exception:\nExpect.equals(expected: <false>, actual: <true>, 'Unexpected use of 'hasRangeError' for test:\nvar a = [42];\nmain() {\n a.toString();\n return a[0];\n}\n\nin code\n// Generated by dart2js (fast startup emitter, strong), the Dart to JavaScript compiler.\n// The code supports the following hooks:\n// dartPrint(message):\n// if this function is defined it is called instead of the Dart [print]\n// method.\n//\n// dartMainRunner(main, args):\n// if this function is defined, the Dart [main] method will not be invoked\n// directly. Instead, a closure that will invoke [main], and its arguments\n// [args] is passed to [dartMainRunner].\n//\n// dartDeferredLibraryLoader(uri, successCallback, errorCallback):\n// if this function is defined, it will be called when a deferred library\n// is loaded. It should load and eval the javascript of `uri`, and call\n// successCallback. If it fails to do so, it should call errorCallback with\n// an error.\n//\n// dartCallInstrumentation(id, qualifiedName):\n// if this function is defined, it will be called at each entry of a\n// method or constructor. Used only when compiling programs with\n// --experiment-call-instrumentation.\n//\n// defaultPackagesBase:\n// Override the location where `package:` uris are resolved from. By default\n// they are resolved under \"packages/\" from the current window location.\n{\n}\n(function dartProgram() {\n function copyProperties(from, to) {\n var keys = Object.keys(from);\n for (var i = 0; i < keys.length; i++) {\n var key = keys[i];\n to[key] = from[key];\n }\n }\n var supportsDirectProtoAccess = function() {\n var cls = function() {\n };\n cls.prototype = {p: {}};\n var object = new cls();\n if (!(object.__proto__ && object.__proto__.p === cls.prototype.p))\n return false;\n try {\n if (typeof navigator != \"undefined\" && typeof navigator.userAgent == \"string\" && navigator.userAgent.indexOf(\"Chrome/\") >= 0)\n return true;\n if (typeof version == \"function\" && version.length == 0) {\n var v = version();\n if (/^\\d+\\.\\d+\\.\\d+\\.\\d+$/.test(v))\n return true;\n }\n } catch (_) {\n }\n return false;\n }();\n function setFunctionNamesIfNecessary(holders) {\n function t() {\n }\n ;\n if (typeof t.name == \"string\")\n return;\n for (var i = 0; i < holders.length; i++) {\n var holder = holders[i];\n var keys = Object.keys(holder);\n for (var j = 0; j < keys.length; j++) {\n var key = keys[j];\n var f = holder[key];\n if (typeof f == 'function')\n f.name = key;\n }\n }\n }\n function inherit(cls, sup) {\n cls.prototype.constructor = cls;\n cls.prototype[\"$is\" + cls.name] = cls;\n if (sup != null) {\n if (supportsDirectProtoAccess) {\n cls.prototype.__proto__ = sup.prototype;\n return;\n }\n var clsPrototype = Object.create(sup.prototype);\n copyProperties(cls.prototype, clsPrototype);\n cls.prototype = clsPrototype;\n }\n }\n function inheritMany(sup, classes) {\n for (var i = 0; i < classes.length; i++)\n inherit(classes[i], sup);\n }\n function mixin(cls, mixin) {\n copyProperties(mixin.prototype, cls.prototype);\n cls.prototype.constructor = cls;\n }\n function lazy(holder, name, getterName, initializer) {\n var uninitializedSentinel = holder;\n holder[name] = uninitializedSentinel;\n holder[getterName] = function() {\n holder[getterName] = function() {\n H.throwCyclicInit(name);\n };\n var result;\n var sentinelInProgress = initializer;\n try {\n if (holder[name] === uninitializedSentinel) {\n result = holder[name] = sentinelInProgress;\n result = holder[name] = initializer();\n } else\n result = holder[name];\n } finally {\n if (result === sentinelInProgress)\n holder[name] = null;\n holder[getterName] = function() {\n return this[name];\n };\n }\n return result;\n };\n }\n function makeConstList(list) {\n list.immutable$list = Array;\n list.fixed$length = Array;\n return list;\n }\n function convertToFastObject(properties) {\n function t() {\n }\n t.prototype = properties;\n new t();\n return properties;\n }\n function convertAllToFastObject(arrayOfObjects) {\n for (var i = 0; i < arrayOfObjects.length; ++i)\n convertToFastObject(arrayOfObjects[i]);\n }\n var functionCounter = 0;\n function tearOffGetter(funcs, applyTrampolineIndex, reflectionInfo, name, isIntercepted) {\n return isIntercepted ? new Function(\"funcs\", \"applyTrampolineIndex\", \"reflectionInfo\", \"name\", \"H\", \"c\", \"return function tearOff_\" + name + functionCounter++ + \"(receiver) {\" + \"if (c === null) c = \" + \"H.closureFromTearOff\" + \"(\" + \"this, funcs, applyTrampolineIndex, reflectionInfo, false, true, name);\" + \"return new c(this, funcs[0], receiver, name);\" + \"}\")(funcs, applyTrampolineIndex, reflectionInfo, name, H, null) : new Function(\"funcs\", \"applyTrampolineIndex\", \"reflectionInfo\", \"name\", \"H\", \"c\", \"return function tearOff_\" + name + functionCounter++ + \"() {\" + \"if (c === null) c = \" + \"H.closureFromTearOff\" + \"(\" + \"this, funcs, applyTrampolineIndex, reflectionInfo, false, false, name);\" + \"return new c(this, funcs[0], null, name);\" + \"}\")(funcs, applyTrampolineIndex, reflectionInfo, name, H, null);\n }\n function tearOff(funcs, applyTrampolineIndex, reflectionInfo, isStatic, name, isIntercepted) {\n var cache = null;\n return isStatic ? function() {\n if (cache === null)\n cache = H.closureFromTearOff(this, funcs, applyTrampolineIndex, reflectionInfo, true, false, name).prototype;\n return cache;\n } : tearOffGetter(funcs, applyTrampolineIndex, reflectionInfo, name, isIntercepted);\n }\n var typesOffset = 0;\n function installTearOff(container, getterName, isStatic, isIntercepted, requiredParameterCount, optionalParameterDefaultValues, callNames, funsOrNames, funType, applyIndex) {\n var funs = [];\n for (var i = 0; i < funsOrNames.length; i++) {\n var fun = funsOrNames[i];\n if (typeof fun == 'string')\n fun = container[fun];\n fun.$callName = callNames[i];\n funs.push(fun);\n }\n var fun = funs[0];\n fun.$requiredArgCount = requiredParameterCount;\n fun.$defaultValues = optionalParameterDefaultValues;\n var reflectionInfo = funType;\n if (typeof reflectionInfo == \"number\")\n reflectionInfo = reflectionInfo + typesOffset;\n var name = funsOrNames[0];\n fun.$stubName = name;\n var getterFunction = tearOff(funs, applyIndex || 0, reflectionInfo, isStatic, name, isIntercepted);\n container[getterName] = getterFunction;\n if (isStatic)\n fun.$tearOff = getterFunction;\n }\n function installStaticTearOff(container, getterName, requiredParameterCount, optionalParameterDefaultValues, callNames, funsOrNames, funType, applyIndex) {\n return installTearOff(container, getterName, true, false, requiredParameterCount, optionalParameterDefaultValues, callNames, funsOrNames, funType, applyIndex);\n }\n function installInstanceTearOff(container, getterName, isIntercepted, requiredParameterCount, optionalParameterDefaultValues, callNames, funsOrNames, funType, applyIndex) {\n return installTearOff(container, getterName, false, isIntercepted, requiredParameterCount, optionalParameterDefaultValues, callNames, funsOrNames, funType, applyIndex);\n }\n function setOrUpdateInterceptorsByTag(newTags) {\n var tags = init.interceptorsByTag;\n if (!tags) {\n init.interceptorsByTag = newTags;\n return;\n }\n copyProperties(newTags, tags);\n }\n function setOrUpdateLeafTags(newTags) {\n var tags = init.leafTags;\n if (!tags) {\n init.leafTags = newTags;\n return;\n }\n copyProperties(newTags, tags);\n }\n function updateTypes(newTypes) {\n var types = init.types;\n var length = types.length;\n types.push.apply(types, newTypes);\n return length;\n }\n function updateHolder(holder, newHolder) {\n copyProperties(newHolder, holder);\n return holder;\n }\n var hunkHelpers = function() {\n var mkInstance = function(isIntercepted, requiredParameterCount, optionalParameterDefaultValues, callNames, applyIndex) {\n return function(container, getterName, name, funType) {\n return installInstanceTearOff(container, getterName, isIntercepted, requiredParameterCount, optionalParameterDefaultValues, callNames, [name], funType, applyIndex);\n };\n },\n mkStatic = function(requiredParameterCount, optionalParameterDefaultValues, callNames, applyIndex) {\n return function(container, getterName, name, funType) {\n return installStaticTearOff(container, getterName, requiredParameterCount, optionalParameterDefaultValues, callNames, [name], funType, applyIndex);\n };\n };\n return {inherit: inherit, inheritMany: inheritMany, mixin: mixin, installStaticTearOff: installStaticTearOff, installInstanceTearOff: installInstanceTearOff, _instance_0u: mkInstance(0, 0, null, [\"call$0\"], 0), _instance_1u: mkInstance(0, 1, null, [\"call$1\"], 0), _instance_2u: mkInstance(0, 2, null, [\"call$2\"], 0), _instance_0i: mkInstance(1, 0, null, [\"call$0\"], 0), _instance_1i: mkInstance(1, 1, null, [\"call$1\"], 0), _instance_2i: mkInstance(1, 2, null, [\"call$2\"], 0), _static_0: mkStatic(0, null, [\"call$0\"], 0), _static_1: mkStatic(1, null, [\"call$1\"], 0), _static_2: mkStatic(2, null, [\"call$2\"], 0), makeConstList: makeConstList, lazy: lazy, updateHolder: updateHolder, convertToFastObject: convertToFastObject, setFunctionNamesIfNecessary: setFunctionNamesIfNecessary, updateTypes: updateTypes, setOrUpdateInterceptorsByTag: setOrUpdateInterceptorsByTag, setOrUpdateLeafTags: setOrUpdateLeafTags};\n }();\n function initializeDeferredHunk(hunk) {\n typesOffset = init.types.length;\n hunk(hunkHelpers, init, holders, $);\n }\n function getGlobalFromName(name) {\n for (var i = 0; i < holders.length; i++) {\n if (holders[i] == C)\n continue;\n if (holders[i][name])\n return holders[i][name];\n }\n }\n var C = {},\n H = {JS_CONST: function JS_CONST() {\n },\n isCheckPropertyToJsConstructorName: function(isCheckProperty) {\n return isCheckProperty.substring(3);\n },\n isDartFunctionType: function(type) {\n return 'func' in type;\n },\n isDartFutureOrType: function(type) {\n return 'futureOr' in type;\n },\n isDartVoidTypeRti: function(type) {\n return type === -1;\n },\n rawRtiToJsConstructorName: function(rti) {\n return rti.name;\n },\n unminifyOrTag: function(rawClassName) {\n var preserved = H.unmangleGlobalNameIfPreservedAnyways(rawClassName);\n if (typeof preserved === \"string\")\n return preserved;\n return rawClassName;\n },\n getRawRuntimeType: function(o) {\n return o.constructor;\n },\n builtinIsSubtype: function(type, other) {\n return '$is' + other in type.prototype;\n },\n isDartFunctionTypeRti: function(type) {\n return type.name === \"Function\";\n },\n isNullType: function(type) {\n return type.name === \"Null\";\n },\n isDartDynamicTypeRti: function(type) {\n return type == null;\n },\n isDartJsInteropTypeArgumentRti: function(type) {\n return type === -2;\n },\n isDartObjectTypeRti: function(type) {\n return type.name === \"Object\";\n },\n isNullTypeRti: function(type) {\n return type.name === \"Null\";\n },\n getType: function(index) {\n return init.types[H.intTypeCheck(index)];\n },\n S: function(value) {\n var res;\n if (typeof value === \"string\")\n return value;\n if (typeof value === \"number\") {\n if (value !== 0)\n return \"\" + value;\n } else if (true === value)\n return \"true\";\n else if (false === value)\n return \"false\";\n else if (value == null)\n return \"null\";\n res = J.toString$0$(value);\n if (typeof res !== \"string\")\n throw H.wrapException(H.argumentErrorValue(value));\n return res;\n },\n Primitives_formatType: function(className, typeArguments) {\n return H.unmangleAllIdentifiersIfPreservedAnyways(className + H.joinArguments(typeArguments, 0));\n },\n Primitives_objectTypeName: function(object) {\n return H.Primitives__objectClassName(object) + H.joinArguments(H.getRuntimeTypeInfo(object), 0);\n },\n Primitives__objectClassName: function(object) {\n var interceptorConstructorName, $name, t1, dispatchName, objectConstructor, match, decompiledName,\n interceptor = J.getInterceptor$(object),\n interceptorConstructor = interceptor.constructor;\n if (typeof interceptorConstructor == \"function\") {\n interceptorConstructorName = interceptorConstructor.name;\n $name = typeof interceptorConstructorName === \"string\" ? interceptorConstructorName : null;\n } else\n $name = null;\n t1 = $name == null;\n if (t1 || interceptor === C.Interceptor_methods || false) {\n dispatchName = H.constructorNameFallback(object);\n if (t1)\n $name = dispatchName;\n if (dispatchName === \"Object\") {\n objectConstructor = object.constructor;\n if (typeof objectConstructor == \"function\") {\n match = String(objectConstructor).match(/^\\s*function\\s*([\\w$]*)\\s*\\(/);\n decompiledName = match == null ? null : match[1];\n if (typeof decompiledName === \"string\" && /^\\w+$/.test(decompiledName))\n $name = decompiledName;\n }\n }\n return $name;\n }\n $name = $name;\n return H.unminifyOrTag($name.length > 1 && C.JSString_methods._codeUnitAt$1($name, 0) === 36 ? C.JSString_methods.substring$1($name, 1) : $name);\n },\n Primitives_objectToHumanReadableString: function(object) {\n return \"Instance of '\" + H.Primitives_objectTypeName(object) + \"'\";\n },\n Primitives_stringConcatUnchecked: function(string1, string2) {\n return string1 + string2;\n },\n Primitives_flattenString: function(str) {\n return str.charCodeAt(0) == 0 ? str : str;\n },\n JsCache_fetch: function(cache, key) {\n return cache[key];\n },\n iae: function(argument) {\n throw H.wrapException(H.argumentErrorValue(argument));\n },\n ioore: function(receiver, index) {\n if (receiver == null)\n J.get$length$as(receiver);\n throw H.wrapException(H.diagnoseIndexError(receiver, index));\n },\n diagnoseIndexError: function(indexable, index) {\n var $length, _s5_ = \"index\";\n if (typeof index !== \"number\" || Math.floor(index) !== index)\n return P.ArgumentError$value(index, _s5_, null);\n $length = J.get$length$as(indexable);\n if (index < 0 || index >= $length)\n return P.IndexError$(index, indexable, _s5_, null, $length);\n return P.RangeError$value(index, _s5_);\n },\n argumentErrorValue: function(object) {\n return P.ArgumentError$value(object, null, null);\n },\n wrapException: function(ex) {\n var wrapper;\n if (ex == null)\n ex = P.NullThrownError$();\n wrapper = new Error();\n wrapper.dartException = ex;\n if (\"defineProperty\" in Object) {\n Object.defineProperty(wrapper, \"message\", {get: H.toStringWrapper});\n wrapper.name = \"\";\n } else\n wrapper.toString = H.toStringWrapper;\n return wrapper;\n },\n toStringWrapper: function() {\n return J.toString$0$(this.dartException);\n },\n throwConcurrentModificationError: function(collection) {\n throw H.wrapException(P.ConcurrentModificationError$(collection));\n },\n stringTypeCheck: function(value) {\n if (value == null)\n return value;\n if (typeof value === \"string\")\n return value;\n throw H.wrapException(H.TypeErrorImplementation$(value, \"String\"));\n },\n intTypeCheck: function(value) {\n if (value == null)\n return value;\n if (typeof value === \"number\" && Math.floor(value) === value)\n return value;\n throw H.wrapException(H.TypeErrorImplementation$(value, \"int\"));\n },\n listTypeCheck: function(value) {\n if (value == null)\n return value;\n if (!!J.getInterceptor$(value).$isList)\n return value;\n throw H.wrapException(H.TypeErrorImplementation$(value, \"List<dynamic>\"));\n },\n extractFunctionTypeObjectFrom: function(o) {\n return H.extractFunctionTypeObjectFromInternal(J.getInterceptor$(o));\n },\n extractFunctionTypeObjectFromInternal: function(o) {\n var signature;\n if (\"$signature\" in o) {\n signature = o.$signature;\n if (typeof signature == \"number\")\n return H.getType(H.intTypeCheck(signature));\n else\n return o.$signature();\n }\n return;\n },\n functionTypeTest: function(value, functionTypeRti) {\n var functionTypeObject;\n if (typeof value == \"function\")\n return true;\n functionTypeObject = H.extractFunctionTypeObjectFrom(value);\n if (functionTypeObject == null)\n return false;\n return H.isFunctionSubtype(functionTypeObject, functionTypeRti);\n },\n TypeErrorImplementation$: function(value, type) {\n return new H.TypeErrorImplementation(\"TypeError: \" + P.Error_safeToString(value) + \": type '\" + H._typeDescription(value) + \"' is not a subtype of type '\" + type + \"'\");\n },\n _typeDescription: function(value) {\n var functionTypeObject;\n if (value instanceof H.Closure) {\n functionTypeObject = H.extractFunctionTypeObjectFrom(value);\n if (functionTypeObject != null)\n return H.runtimeTypeToString(functionTypeObject);\n return \"Closure\";\n }\n return H.Primitives_objectTypeName(value);\n },\n throwCyclicInit: function(staticName) {\n throw H.wrapException(P.CyclicInitializationError$(H.stringTypeCheck(staticName)));\n },\n jsonEncodeNative: function(string) {\n return JSON.stringify(string);\n },\n setRuntimeTypeInfo: function(target, rti) {\n target.$ti = rti;\n return target;\n },\n getRuntimeTypeInfo: function(target) {\n if (target == null)\n return;\n return target.$ti;\n },\n getTypeArgumentByIndex: function(target, index) {\n var rti;\n H.intTypeCheck(index);\n rti = H.getRuntimeTypeInfo(target);\n return rti == null ? null : H.getIndex(rti, index);\n },\n _getRuntimeTypeAsString: function(rti, genericContext) {\n H.assertSubtype(genericContext, \"$isList\", [P.String], \"$asList\");\n return H.unminifyOrTag(H.rawRtiToJsConstructorName(H.getIndex(rti, 0))) + H._joinArguments(rti, 1, genericContext);\n },\n runtimeTypeToString: function(rti) {\n return H._runtimeTypeToString(rti, null);\n },\n _runtimeTypeToString: function(rti, genericContext) {\n var t1, t2;\n H.assertSubtype(genericContext, \"$isList\", [P.String], \"$asList\");\n if (H.isDartDynamicTypeRti(rti))\n return \"dynamic\";\n if (H.isDartVoidTypeRti(rti))\n return \"void\";\n if (H.isJsArray(rti))\n return H._getRuntimeTypeAsString(rti, genericContext);\n if (H.isJsFunction(rti))\n return H.unminifyOrTag(H.rawRtiToJsConstructorName(rti));\n if (H.isDartJsInteropTypeArgumentRti(rti))\n return \"dynamic\";\n if (H.isGenericFunctionTypeParameter(rti)) {\n H.intTypeCheck(rti);\n if (genericContext != null) {\n if (typeof rti !== \"number\")\n return rti.$lt();\n t1 = rti < 0 || rti >= genericContext.length;\n } else\n t1 = true;\n if (t1)\n return \"unexpected-generic-index:\" + H.S(rti);\n t1 = genericContext.length;\n if (typeof rti !== \"number\")\n return H.iae(rti);\n t2 = t1 - rti - 1;\n if (t2 < 0 || t2 >= t1)\n return H.ioore(genericContext, t2);\n return H.S(genericContext[t2]);\n }\n if (H.isDartFunctionType(rti))\n return H._functionRtiToString(rti, genericContext);\n if (H.isDartFutureOrType(rti))\n return \"FutureOr<\" + H._runtimeTypeToString(H.getFutureOrArgument(rti), genericContext) + \">\";\n return \"unknown-reified-type\";\n },\n _functionRtiToString: function(rti, genericContext) {\n var boundsRti, outerContextLength, offset, i, i0, typeParameters, typeSep, t2, boundRti, returnTypeText, $arguments, argumentsText, sep, _i, argument, optionalArguments, namedArguments, t3, _s2_ = \", \",\n t1 = [P.String];\n H.assertSubtype(genericContext, \"$isList\", t1, \"$asList\");\n if (H.hasField(rti, \"bounds\")) {\n boundsRti = rti.bounds;\n if (genericContext == null) {\n genericContext = H.setRuntimeTypeInfo([], t1);\n outerContextLength = null;\n } else\n outerContextLength = genericContext.length;\n offset = genericContext.length;\n for (i = boundsRti.length, i0 = i; i0 > 0; --i0)\n C.JSArray_methods.add$1(genericContext, \"T\" + (offset + i0));\n for (typeParameters = \"<\", typeSep = \"\", i0 = 0; i0 < i; ++i0, typeSep = _s2_) {\n typeParameters += typeSep;\n t1 = genericContext.length;\n t2 = t1 - i0 - 1;\n if (t2 < 0)\n return H.ioore(genericContext, t2);\n typeParameters = C.JSString_methods.$add(typeParameters, genericContext[t2]);\n boundRti = boundsRti[i0];\n if (H.isInterestingBound(boundRti))\n typeParameters += \" extends \" + H._runtimeTypeToString(boundRti, genericContext);\n }\n typeParameters += \">\";\n } else {\n typeParameters = \"\";\n outerContextLength = null;\n }\n returnTypeText = !!rti.v ? \"void\" : H._runtimeTypeToString(rti.ret, genericContext);\n if (H.hasField(rti, \"args\")) {\n $arguments = rti.args;\n for (t1 = $arguments.length, argumentsText = \"\", sep = \"\", _i = 0; _i < t1; ++_i, sep = _s2_) {\n argument = $arguments[_i];\n argumentsText = argumentsText + sep + H._runtimeTypeToString(argument, genericContext);\n }\n } else {\n argumentsText = \"\";\n sep = \"\";\n }\n if (\"opt\" in rti) {\n optionalArguments = rti.opt;\n argumentsText += sep + \"[\";\n for (t1 = optionalArguments.length, sep = \"\", _i = 0; _i < t1; ++_i, sep = _s2_) {\n argument = optionalArguments[_i];\n argumentsText = argumentsText + sep + H._runtimeTypeToString(argument, genericContext);\n }\n argumentsText += \"]\";\n }\n if (\"named\" in rti) {\n namedArguments = rti.named;\n argumentsText += sep + \"{\";\n for (t1 = H.extractKeys(namedArguments), t2 = t1.length, sep = \"\", _i = 0; _i < t2; ++_i, sep = _s2_) {\n t3 = H.stringTypeCheck(t1[_i]);\n argumentsText = argumentsText + sep + H._runtimeTypeToString(namedArguments[t3], genericContext) + (\" \" + H.S(t3));\n }\n argumentsText += \"}\";\n }\n if (outerContextLength != null)\n genericContext.length = outerContextLength;\n return typeParameters + \"(\" + argumentsText + \") => \" + returnTypeText;\n },\n joinArguments: function(types, startIndex) {\n return H._joinArguments(types, startIndex, null);\n },\n _joinArguments: function(types, startIndex, genericContext) {\n var buffer, index, separator, allDynamic, argument;\n H.assertSubtype(genericContext, \"$isList\", [P.String], \"$asList\");\n if (types == null)\n return \"\";\n buffer = P.StringBuffer$(\"\");\n for (index = startIndex, separator = \"\", allDynamic = true; index < H.getLength(types); ++index, separator = \", \") {\n buffer.write$1(separator);\n argument = H.getIndex(types, index);\n if (argument != null)\n allDynamic = false;\n buffer.write$1(H._runtimeTypeToString(argument, genericContext));\n }\n return \"<\" + buffer.toString$0(0) + \">\";\n },\n substitute: function(substitution, $arguments) {\n if (substitution == null)\n return $arguments;\n substitution = H.invoke(substitution, $arguments);\n if (substitution == null)\n return;\n if (H.isJsArray(substitution))\n return substitution;\n if (H.isJsFunction(substitution))\n return H.invoke(substitution, $arguments);\n return $arguments;\n },\n checkSubtype: function(object, isField, checks, asField) {\n var $arguments, interceptor;\n H.stringTypeCheck(isField);\n H.listTypeCheck(checks);\n H.stringTypeCheck(asField);\n if (object == null)\n return false;\n $arguments = H.getRuntimeTypeInfo(object);\n interceptor = J.getInterceptor$(object);\n if (H.getField(interceptor, isField) == null)\n return false;\n return H.checkArguments(H.getField(interceptor, asField), $arguments, null, checks, null);\n },\n computeTypeName: function(isField, $arguments) {\n return H.Primitives_formatType(H.unminifyOrTag(H.isCheckPropertyToJsConstructorName(isField)), $arguments);\n },\n assertSubtype: function(object, isField, checks, asField) {\n H.stringTypeCheck(isField);\n H.listTypeCheck(checks);\n H.stringTypeCheck(asField);\n if (object == null)\n return object;\n if (H.checkSubtype(object, isField, checks, asField))\n return object;\n throw H.wrapException(H.TypeErrorImplementation$(object, H.computeTypeName(isField, checks)));\n },\n checkArguments: function(substitution, $arguments, sEnv, checks, tEnv) {\n return H.areSubtypes(H.substitute(substitution, $arguments), sEnv, checks, tEnv);\n },\n areSubtypes: function(s, sEnv, t, tEnv) {\n var len, i;\n if (t == null)\n return true;\n if (s == null) {\n len = H.getLength(t);\n for (i = 0; i < len; ++i)\n if (!H._isSubtype(null, null, H.getIndex(t, i), tEnv))\n return false;\n return true;\n }\n len = H.getLength(s);\n for (i = 0; i < len; ++i)\n if (!H._isSubtype(H.getIndex(s, i), sEnv, H.getIndex(t, i), tEnv))\n return false;\n return true;\n },\n isTopType: function(type) {\n return H.isDartDynamicTypeRti(type) || H.isDartVoidTypeRti(type) || H.isDartObjectTypeRti(type) || H.isDartJsInteropTypeArgumentRti(type);\n },\n isSupertypeOfNull: function(type) {\n return H.isSupertypeOfNullBase(type) || H.isSupertypeOfNullRecursive(type);\n },\n isSupertypeOfNullBase: function(type) {\n return H.isDartDynamicTypeRti(type) || H.isDartObjectTypeRti(type) || H.isNullTypeRti(type) || H.isDartVoidTypeRti(type) || H.isDartJsInteropTypeArgumentRti(type);\n },\n isSupertypeOfNullRecursive: function(type) {\n var typeArgument;\n if (H.isGenericFunctionTypeParameter(type))\n return false;\n if (H.isDartFutureOrType(type)) {\n typeArgument = H.getFutureOrArgument(type);\n return H.isSupertypeOfNullBase(type) || H.isSupertypeOfNullRecursive(typeArgument);\n }\n return false;\n },\n getFutureOrArgument: function(type) {\n return H.hasField(type, \"type\") ? H.getField(type, \"type\") : null;\n },\n checkSubtypeOfRuntimeType: function(o, t) {\n var type, rti;\n if (o == null)\n return H.isSupertypeOfNull(t);\n if (H.isTopType(t))\n return true;\n if (typeof t == \"object\") {\n if (H.isDartFutureOrType(t))\n if (H.checkSubtypeOfRuntimeType(o, H.getFutureOrArgument(t)))\n return true;\n if (H.isDartFunctionType(t))\n return H.functionTypeTest(o, t);\n }\n type = H.getRawRuntimeType(J.getInterceptor$(o));\n rti = H.getRuntimeTypeInfo(o);\n if (rti != null) {\n rti = rti.slice();\n rti.splice(0, 0, type);\n type = rti;\n }\n return H.isSubtype(type, t);\n },\n assertSubtypeOfRuntimeType: function(object, type) {\n if (object != null && !H.checkSubtypeOfRuntimeType(object, type))\n throw H.wrapException(H.TypeErrorImplementation$(object, H.runtimeTypeToString(type)));\n return object;\n },\n getArguments: function(type) {\n return H.isJsArray(type) ? type.slice(1) : null;\n },\n isSubtype: function(s, t) {\n return H._isSubtype(s, null, t, null);\n },\n _isSubtype: function(s, sEnv, t, tEnv) {\n var typeOfS, tTypeArgument, futureArguments, typeOfT, typeOfTString, substitution;\n if (H.isIdentical(s, t))\n return true;\n if (H.isTopType(t))\n return true;\n if (H.isDartJsInteropTypeArgumentRti(s))\n return true;\n if (H.isTopType(s)) {\n if (H.isGenericFunctionTypeParameter(t))\n return false;\n if (H.isDartFutureOrType(t))\n return H._isSubtype(s, sEnv, H.getFutureOrArgument(t), tEnv);\n return false;\n }\n if (H.isGenericFunctionTypeParameter(s))\n return false;\n if (H.isGenericFunctionTypeParameter(t))\n return false;\n if (H.isNullType(s))\n return true;\n if (H.isDartFunctionType(t))\n return H._isFunctionSubtype(s, sEnv, t, tEnv);\n if (H.isDartFunctionType(s))\n return H.isDartFunctionTypeRti(t);\n typeOfS = H.isJsArray(s) ? H.getIndex(s, 0) : s;\n if (H.isDartFutureOrType(t)) {\n tTypeArgument = H.getFutureOrArgument(t);\n if (H.isDartFutureOrType(s))\n return H._isSubtype(H.getFutureOrArgument(s), sEnv, tTypeArgument, tEnv);\n else if (H._isSubtype(s, sEnv, tTypeArgument, tEnv))\n return true;\n else {\n if (!H.builtinIsSubtype(typeOfS, \"Future\"))\n return false;\n futureArguments = H.substitute(H.getField(typeOfS.prototype, \"$as\" + \"Future\"), H.getArguments(s));\n return H._isSubtype(H.isJsArray(futureArguments) ? H.getIndex(futureArguments, 0) : null, sEnv, tTypeArgument, tEnv);\n }\n }\n typeOfT = H.isJsArray(t) ? H.getIndex(t, 0) : t;\n if (H.isNotIdentical(typeOfT, typeOfS)) {\n typeOfTString = H.rawRtiToJsConstructorName(typeOfT);\n if (!H.builtinIsSubtype(typeOfS, typeOfTString))\n return false;\n substitution = H.getField(typeOfS.prototype, \"$as\" + typeOfTString);\n } else\n substitution = null;\n if (!H.isJsArray(t))\n return true;\n return H.checkArguments(substitution, H.getArguments(s), sEnv, H.getArguments(t), tEnv);\n },\n isFunctionSubtype: function(s, t) {\n return H._isFunctionSubtype(s, null, t, null);\n },\n _isFunctionSubtype: function(s, sEnv, t, tEnv) {\n var sBounds, tBounds, sParameterTypes, tParameterTypes, sOptionalParameterTypes, tOptionalParameterTypes, sParametersLen, tParametersLen, sOptionalParametersLen, tOptionalParametersLen, pos, tPos, sPos, sNamedParameters, tNamedParameters;\n if (!H.isDartFunctionType(s))\n return false;\n if (H.hasField(s, \"bounds\")) {\n if (H.hasNoField(t, \"bounds\"))\n return false;\n sBounds = H.getField(s, \"bounds\");\n tBounds = H.getField(t, \"bounds\");\n if (H.getLength(sBounds) !== H.getLength(tBounds))\n return false;\n } else if (H.hasField(t, \"bounds\"))\n return false;\n if (!H._isSubtype(H.getField(s, \"ret\"), sEnv, H.getField(t, \"ret\"), tEnv))\n return false;\n sParameterTypes = H.getField(s, \"args\");\n tParameterTypes = H.getField(t, \"args\");\n sOptionalParameterTypes = H.getField(s, \"opt\");\n tOptionalParameterTypes = H.getField(t, \"opt\");\n sParametersLen = sParameterTypes != null ? H.getLength(sParameterTypes) : 0;\n tParametersLen = tParameterTypes != null ? H.getLength(tParameterTypes) : 0;\n sOptionalParametersLen = sOptionalParameterTypes != null ? H.getLength(sOptionalParameterTypes) : 0;\n tOptionalParametersLen = tOptionalParameterTypes != null ? H.getLength(tOptionalParameterTypes) : 0;\n if (sParametersLen > tParametersLen)\n return false;\n if (sParametersLen + sOptionalParametersLen < tParametersLen + tOptionalParametersLen)\n return false;\n for (pos = 0; pos < sParametersLen; ++pos)\n if (!H._isSubtype(H.getIndex(tParameterTypes, pos), tEnv, H.getIndex(sParameterTypes, pos), sEnv))\n return false;\n for (tPos = pos, sPos = 0; tPos < tParametersLen; ++sPos, ++tPos)\n if (!H._isSubtype(H.getIndex(tParameterTypes, tPos), tEnv, H.getIndex(sOptionalParameterTypes, sPos), sEnv))\n return false;\n for (tPos = 0; tPos < tOptionalParametersLen; ++sPos, ++tPos)\n if (!H._isSubtype(H.getIndex(tOptionalParameterTypes, tPos), tEnv, H.getIndex(sOptionalParameterTypes, sPos), sEnv))\n return false;\n sNamedParameters = H.getField(s, \"named\");\n tNamedParameters = H.getField(t, \"named\");\n if (tNamedParameters == null)\n return true;\n if (sNamedParameters == null)\n return false;\n return H.namedParametersSubtypeCheck(sNamedParameters, sEnv, tNamedParameters, tEnv);\n },\n namedParametersSubtypeCheck: function(s, sEnv, t, tEnv) {\n var t1, i, $name,\n names = Object.getOwnPropertyNames(t);\n for (t1 = names.length, i = 0; i < t1; ++i) {\n $name = names[i];\n if (!Object.hasOwnProperty.call(s, $name))\n return false;\n if (!H._isSubtype(t[$name], tEnv, s[$name], sEnv))\n return false;\n }\n return true;\n },\n isGenericFunctionTypeParameter: function(type) {\n return typeof type === \"number\";\n },\n invoke: function($function, $arguments) {\n return H.invokeOn($function, null, $arguments);\n },\n invokeOn: function($function, receiver, $arguments) {\n return $function.apply(receiver, $arguments);\n },\n getField: function(object, $name) {\n return object[$name];\n },\n getIndex: function(array, index) {\n return array[index];\n },\n getLength: function(array) {\n return array.length;\n },\n isJsArray: function(value) {\n return typeof value === \"object\" && value !== null && value.constructor === Array;\n },\n hasField: function(object, $name) {\n return $name in object;\n },\n hasNoField: function(object, $name) {\n return !H.hasField(object, $name);\n },\n isJsFunction: function(o) {\n return typeof o == \"function\";\n },\n isIdentical: function(s, t) {\n return s === t;\n },\n isNotIdentical: function(s, t) {\n return s !== t;\n },\n isInterestingBound: function(rti) {\n return rti != null && H.isNotIdentical(rti, P.Object);\n },\n constructorNameFallback: function(object) {\n return C.C_JS_CONST(object);\n },\n Closure: function Closure() {\n },\n TypeErrorImplementation: function TypeErrorImplementation(t0) {\n this.message = t0;\n },\n extractKeys: function(victim) {\n return J.JSArray_JSArray$markFixed(victim ? Object.keys(victim) : [], null);\n },\n unmangleGlobalNameIfPreservedAnyways: function($name) {\n return H.stringTypeCheck(H.JsCache_fetch(init.mangledGlobalNames, $name));\n },\n unmangleAllIdentifiersIfPreservedAnyways: function(str) {\n return function(str, names) {\n return str.replace(/[^<,> ]+/g, function(m) {\n return names[m] || m;\n });\n }(str, init.mangledGlobalNames);\n }\n },\n J = {\n JSArray_JSArray$typed: function(allocation, $E) {\n return allocation;\n },\n JSArray_JSArray$markFixed: function(allocation, $E) {\n return J.JSArray_markFixedList(H.setRuntimeTypeInfo(J.JSArray_JSArray$typed(allocation, $E), [$E]));\n },\n JSArray_markFixedList: function(list) {\n H.listTypeCheck(list);\n list.fixed$length = Array;\n return list;\n },\n ArrayIterator$: function(iterable, $E) {\n return new J.ArrayIterator(iterable, iterable.length, [$E]);\n },\n getInterceptor$: function(receiver) {\n if (typeof receiver == \"number\") {\n if (Math.floor(receiver) == receiver)\n return J.JSInt.prototype;\n return J.JSDouble.prototype;\n }\n if (typeof receiver == \"string\")\n return J.JSString.prototype;\n if (receiver == null)\n return J.JSNull.prototype;\n if (typeof receiver == \"boolean\")\n return J.JSBool.prototype;\n if (receiver.constructor == Array)\n return J.JSArray.prototype;\n return receiver;\n },\n getInterceptor$as: function(receiver) {\n if (typeof receiver == \"string\")\n return J.JSString.prototype;\n if (receiver == null)\n return receiver;\n if (receiver.constructor == Array)\n return J.JSArray.prototype;\n return receiver;\n },\n get$length$as: function(receiver) {\n return J.getInterceptor$as(receiver).get$length(receiver);\n },\n toString$0$: function(receiver) {\n return J.getInterceptor$(receiver).toString$0(receiver);\n },\n Interceptor: function Interceptor() {\n },\n JSBool: function JSBool() {\n },\n JSNull: function JSNull() {\n },\n JSArray: function JSArray(t0) {\n this.$ti = t0;\n },\n JSUnmodifiableArray: function JSUnmodifiableArray(t0) {\n this.$ti = t0;\n },\n ArrayIterator: function ArrayIterator(t0, t1, t2) {\n var _ = this;\n _._iterable = t0;\n _._length = t1;\n _._index = 0;\n _._current = null;\n _.$ti = t2;\n },\n JSNumber: function JSNumber() {\n },\n JSInt: function JSInt() {\n },\n JSDouble: function JSDouble() {\n },\n JSString: function JSString() {\n }\n },\n P = {\n Error__objectToString: function(object) {\n if (object instanceof H.Closure)\n return object.toString$0(0);\n return H.Primitives_objectToHumanReadableString(object);\n },\n Error__stringToSafeString: function(string) {\n return H.jsonEncodeNative(string);\n },\n StringBuffer$: function($content) {\n return new P.StringBuffer($content);\n },\n StringBuffer__writeAll: function(string, objects, separator) {\n var iterator = C.JSArray_methods.get$iterator(objects);\n if (!iterator.moveNext$0())\n return string;\n if (C.JSString_methods.get$isEmpty(separator)) {\n do\n string = P.StringBuffer__writeOne(string, iterator.get$current());\n while (iterator.moveNext$0());\n } else {\n string = P.StringBuffer__writeOne(string, iterator.get$current());\n for (; iterator.moveNext$0();)\n string = P.StringBuffer__writeOne(P.StringBuffer__writeOne(string, separator), iterator.get$current());\n }\n return string;\n },\n StringBuffer__writeOne: function(string, obj) {\n return H.Primitives_stringConcatUnchecked(string, H.S(obj));\n },\n Error_safeToString: function(object) {\n if (typeof object === \"number\" || typeof object === \"boolean\" || null == object)\n return J.toString$0$(object);\n if (typeof object === \"string\")\n return P.Error__stringToSafeString(object);\n return P.Error__objectToString(object);\n },\n NullThrownError$: function() {\n return new P.NullThrownError();\n },\n ArgumentError$value: function(value, $name, message) {\n return new P.ArgumentError(value, $name, message);\n },\n RangeError$value: function(value, $name) {\n return new P.RangeError(value, $name, \"Value not in range\");\n },\n IndexError$: function(invalidValue, indexable, $name, message, $length) {\n return new P.IndexError($length, invalidValue, $name, \"Index out of range\");\n },\n UnsupportedError$: function(message) {\n return new P.UnsupportedError(message);\n },\n ConcurrentModificationError$: function(modifiedObject) {\n return new P.ConcurrentModificationError(modifiedObject);\n },\n CyclicInitializationError$: function(variableName) {\n return new P.CyclicInitializationError(variableName);\n },\n bool: function bool() {\n },\n double: function double() {\n },\n Error: function Error() {\n },\n NullThrownError: function NullThrownError() {\n },\n ArgumentError: function ArgumentError(t0, t1, t2) {\n this.invalidValue = t0;\n this.name = t1;\n this.message = t2;\n },\n RangeError: function RangeError(t0, t1, t2) {\n this.invalidValue = t0;\n this.name = t1;\n this.message = t2;\n },\n IndexError: function IndexError(t0, t1, t2, t3) {\n var _ = this;\n _.length = t0;\n _.invalidValue = t1;\n _.name = t2;\n _.message = t3;\n },\n UnsupportedError: function UnsupportedError(t0) {\n this.message = t0;\n },\n ConcurrentModificationError: function ConcurrentModificationError(t0) {\n this.modifiedObject = t0;\n },\n CyclicInitializationError: function CyclicInitializationError(t0) {\n this.variableName = t0;\n },\n int: function int() {\n },\n List: function List() {\n },\n Null: function Null() {\n },\n num: function num() {\n },\n Object: function Object() {\n },\n String: function String() {\n },\n StringBuffer: function StringBuffer(t0) {\n this._contents = t0;\n },\n IterableBase_iterableToFullString: function(iterable, leftDelimiter, rightDelimiter) {\n var buffer;\n if (P._isToStringVisiting(iterable))\n return leftDelimiter + \"...\" + rightDelimiter;\n buffer = P.StringBuffer$(leftDelimiter);\n C.JSArray_methods.add$1($._toStringVisiting, iterable);\n try {\n buffer.writeAll$2(iterable, \", \");\n } finally {\n if (0 >= $._toStringVisiting.length)\n return H.ioore($._toStringVisiting, -1);\n $._toStringVisiting.pop();\n }\n buffer.write$1(rightDelimiter);\n return J.toString$0$(buffer);\n },\n _isToStringVisiting: function(o) {\n var t1, i;\n for (t1 = $._toStringVisiting.length, i = 0; i < t1; ++i)\n if (o === $._toStringVisiting[i])\n return true;\n return false;\n },\n ListBase_listToString: function(list) {\n return P.IterableBase_iterableToFullString(list, \"[\", \"]\");\n }\n },\n F = {\n main: function() {\n C.JSArray_methods.toString$0($.a);\n return $.a[0];\n }\n };\n var holders = [C, H, J, P, F];\n hunkHelpers.setFunctionNamesIfNecessary(holders);\n var $ = {};\n H.JS_CONST.prototype = {};\n J.Interceptor.prototype = {\n toString$0: function(receiver) {\n return H.Primitives_objectToHumanReadableString(receiver);\n }\n };\n J.JSBool.prototype = {\n toString$0: function(receiver) {\n return String(receiver);\n },\n $isbool: 1\n };\n J.JSNull.prototype = {\n toString$0: function(receiver) {\n return \"null\";\n }\n };\n J.JSArray.prototype = {\n checkGrowable$1: function(receiver, reason) {\n if (!!receiver.fixed$length)\n throw H.wrapException(P.UnsupportedError$(reason));\n },\n add$1: function(receiver, value) {\n H.assertSubtypeOfRuntimeType(value, H.getTypeArgumentByIndex(receiver, 0));\n this.checkGrowable$1(receiver, \"add\");\n receiver.push(value);\n },\n toString$0: function(receiver) {\n return P.ListBase_listToString(receiver);\n },\n get$iterator: function(receiver) {\n return J.ArrayIterator$(receiver, H.getTypeArgumentByIndex(receiver, 0));\n },\n get$length: function(receiver) {\n return receiver.length;\n },\n $isIterable: 1,\n $isList: 1\n };\n J.JSUnmodifiableArray.prototype = {};\n J.ArrayIterator.prototype = {\n get$current: function() {\n return this._current;\n },\n moveNext$0: function() {\n var t2, _this = this,\n t1 = _this._iterable,\n $length = t1.length;\n if (_this._length !== $length)\n throw H.wrapException(H.throwConcurrentModificationError(t1));\n t2 = _this._index;\n if (t2 >= $length) {\n _this.set$_current(null);\n return false;\n }\n _this.set$_current(t1[t2]);\n ++_this._index;\n return true;\n },\n set$_current: function(_current) {\n this._current = H.assertSubtypeOfRuntimeType(_current, H.getTypeArgumentByIndex(this, 0));\n }\n };\n J.JSNumber.prototype = {\n toString$0: function(receiver) {\n if (receiver === 0 && 1 / receiver < 0)\n return \"-0.0\";\n else\n return \"\" + receiver;\n },\n $isnum: 1\n };\n J.JSInt.prototype = {$isint: 1};\n J.JSDouble.prototype = {};\n J.JSString.prototype = {\n _codeUnitAt$1: function(receiver, index) {\n if (index >= receiver.length)\n throw H.wrapException(H.diagnoseIndexError(receiver, index));\n return receiver.charCodeAt(index);\n },\n $add: function(receiver, other) {\n if (typeof other !== \"string\")\n throw H.wrapException(P.ArgumentError$value(other, null, null));\n return receiver + other;\n },\n substring$1: function(receiver, startIndex) {\n var endIndex = receiver.length;\n if (startIndex > endIndex)\n throw H.wrapException(P.RangeError$value(startIndex, null));\n if (endIndex > endIndex)\n throw H.wrapException(P.RangeError$value(endIndex, null));\n return receiver.substring(startIndex, endIndex);\n },\n get$isEmpty: function(receiver) {\n return receiver.length === 0;\n },\n toString$0: function(receiver) {\n return receiver;\n },\n get$length: function(receiver) {\n return receiver.length;\n },\n $isString: 1\n };\n H.Closure.prototype = {\n get$$call: function() {\n return this;\n },\n \"call*\": \"call$1\",\n $requiredArgCount: 1,\n $defaultValues: null\n };\n H.TypeErrorImplementation.prototype = {\n toString$0: function(_) {\n return this.message;\n }\n };\n P.bool.prototype = {\n toString$0: function(_) {\n return this ? \"true\" : \"false\";\n }\n };\n P.double.prototype = {};\n P.Error.prototype = {};\n P.NullThrownError.prototype = {\n toString$0: function(_) {\n return \"Throw of null.\";\n }\n };\n P.ArgumentError.prototype = {\n get$_errorName: function() {\n return \"Invalid argument\";\n },\n get$_errorExplanation: function() {\n return \"\";\n },\n toString$0: function(_) {\n var message, prefix, explanation, errorValue, _this = this,\n t1 = _this.name,\n nameString = t1 != null ? \" (\" + t1 + \")\" : \"\";\n t1 = _this.message;\n message = t1 == null ? \"\" : \": \" + t1;\n prefix = _this.get$_errorName() + nameString + message;\n explanation = _this.get$_errorExplanation();\n errorValue = P.Error_safeToString(_this.invalidValue);\n return prefix + explanation + \": \" + errorValue;\n }\n };\n P.RangeError.prototype = {\n get$_errorName: function() {\n return \"RangeError\";\n },\n get$_errorExplanation: function() {\n return \"\";\n }\n };\n P.IndexError.prototype = {\n get$_errorName: function() {\n return \"RangeError\";\n },\n get$_errorExplanation: function() {\n var t1,\n invalidValue = H.intTypeCheck(this.invalidValue);\n if (typeof invalidValue !== \"number\")\n return invalidValue.$lt();\n if (invalidValue < 0)\n return \": index must not be negative\";\n t1 = this.length;\n if (t1 === 0)\n return \": no indices are valid\";\n return \": index should be less than \" + t1;\n },\n get$length: function(receiver) {\n return this.length;\n }\n };\n P.UnsupportedError.prototype = {\n toString$0: function(_) {\n return \"Unsupported operation: \" + this.message;\n }\n };\n P.ConcurrentModificationError.prototype = {\n toString$0: function(_) {\n var t1 = this.modifiedObject;\n if (t1 == null)\n return \"Concurrent modification during iteration.\";\n return \"Concurrent modification during iteration: \" + P.Error_safeToString(t1) + \".\";\n }\n };\n P.CyclicInitializationError.prototype = {\n toString$0: function(_) {\n var t1 = this.variableName;\n return t1 == null ? \"Reading static variable during its initialization\" : \"Reading static variable '\" + t1 + \"' during its initialization\";\n }\n };\n P.int.prototype = {};\n P.List.prototype = {$isIterable: 1};\n P.Null.prototype = {\n toString$0: function(_) {\n return \"null\";\n }\n };\n P.num.prototype = {};\n P.Object.prototype = {constructor: P.Object, $isObject: 1,\n toString$0: function(_) {\n return H.Primitives_objectToHumanReadableString(this);\n },\n toString: function() {\n return this.toString$0(this);\n }\n };\n P.String.prototype = {};\n P.StringBuffer.prototype = {\n get$length: function(_) {\n return this._contents.length;\n },\n write$1: function(obj) {\n this._writeString$1(obj);\n },\n writeAll$2: function(objects, separator) {\n this._contents = P.StringBuffer__writeAll(this._contents, objects, separator);\n },\n toString$0: function(_) {\n return H.Primitives_flattenString(this._contents);\n },\n _writeString$1: function(str) {\n this._contents = H.Primitives_stringConcatUnchecked(this._contents, str);\n }\n };\n (function inheritance() {\n var _inherit = hunkHelpers.inherit,\n _inheritMany = hunkHelpers.inheritMany;\n _inherit(P.Object, null);\n _inheritMany(P.Object, [H.JS_CONST, J.Interceptor, J.ArrayIterator, H.Closure, P.Error, P.bool, P.num, P.List, P.Null, P.String, P.StringBuffer]);\n _inheritMany(J.Interceptor, [J.JSBool, J.JSNull, J.JSArray, J.JSNumber, J.JSString]);\n _inherit(J.JSUnmodifiableArray, J.JSArray);\n _inheritMany(J.JSNumber, [J.JSInt, J.JSDouble]);\n _inheritMany(P.Error, [H.TypeErrorImplementation, P.NullThrownError, P.ArgumentError, P.UnsupportedError, P.ConcurrentModificationError, P.CyclicInitializationError]);\n _inheritMany(P.num, [P.double, P.int]);\n _inheritMany(P.ArgumentError, [P.RangeError, P.IndexError]);\n })();\n (function constants() {\n C.Interceptor_methods = J.Interceptor.prototype;\n C.JSArray_methods = J.JSArray.prototype;\n C.JSString_methods = J.JSString.prototype;\n C.C_JS_CONST = function getTagFallback(o) {\n var s = Object.prototype.toString.call(o);\n return s.substring(8, s.length - 1);\n};\n })();\n var init = {mangledGlobalNames: {int: \"int\", double: \"double\", num: \"num\", String: \"String\", bool: \"bool\", Null: \"Null\", List: \"List\"}, mangledNames: {}, getTypeFromName: getGlobalFromName, metadata: [], types: []};\n (function staticFields() {\n $._toStringVisiting = [];\n $.a = H.setRuntimeTypeInfo([42], [P.int]);\n })();\n convertAllToFastObject(holders);\n convertToFastObject($);\n (function(callback) {\n if (typeof document === \"undefined\") {\n callback(null);\n return;\n }\n if (typeof document.currentScript != 'undefined') {\n callback(document.currentScript);\n return;\n }\n var scripts = document.scripts;\n function onLoad(event) {\n for (var i = 0; i < scripts.length; ++i)\n scripts[i].removeEventListener(\"load\", onLoad, false);\n callback(event.target);\n }\n for (var i = 0; i < scripts.length; ++i)\n scripts[i].addEventListener(\"load\", onLoad, false);\n })(function(currentScript) {\n init.currentScript = currentScript;\n if (typeof dartMainRunner === \"function\")\n dartMainRunner(F.main, []);\n else\n F.main([]);\n });\n})();\n') fails.\n#0 Expect._fail (package:expect/expect.dart:655:5)\n#1 Expect.equals (package:expect/expect.dart:126:5)\n#2 checkRangeError (file:///b/s/w/ir/cache/builder/sdk/tests/compiler/dart2js/codegen/list_tracer_length_test.dart:94:10)\n<asynchronous suspension>\n#3 main.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/tests/compiler/dart2js/codegen/list_tracer_length_test.dart:107:11)\n<asynchronous suspension>\n#4 asyncTest (package:async_helper/async_helper.dart:90:11)\n#5 main (file:///b/s/w/ir/cache/builder/sdk/tests/compiler/dart2js/codegen/list_tracer_length_test.dart:102:3)\n#6 _startIsolate.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:300:19)\n#7 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:171:12)\n\n--- Re-run this test:\npython tools/test.py -n unittest-asserts-no-sdk-linux dart2js/codegen/list_tracer_length_test\n"} {"name":"dart2js/codegen/simple_function_subtype_test","configuration":"unittest-asserts-no-sdk-linux","result":"RuntimeError","log":"--- Command \"vm\" (took 19.000245s):\nDART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart --enable_asserts --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages /b/s/w/ir/cache/builder/sdk/tests/compiler/dart2js/codegen/simple_function_subtype_test.dart\n\nexit code:\n255\n\nstdout:\nunittest-suite-wait-for-done\n--test from kernel------------------------------------------------\n\nstderr:\nUnhandled exception:\nExpect.isTrue(false, 'Expected predicate check .$is_args0') fails.\n#0 Expect._fail (package:expect/expect.dart:655:5)\n#1 Expect.isTrue (package:expect/expect.dart:135:5)\n#2 main.runTest.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/tests/compiler/dart2js/codegen/simple_function_subtype_test.dart:58:16)\n#3 compile (file:///b/s/w/ir/cache/builder/sdk/tests/compiler/dart2js/helpers/compiler_helper.dart:91:10)\n<asynchronous suspension>\n#4 main.runTest (file:///b/s/w/ir/cache/builder/sdk/tests/compiler/dart2js/codegen/simple_function_subtype_test.dart:55:11)\n<asynchronous suspension>\n#5 main.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/tests/compiler/dart2js/codegen/simple_function_subtype_test.dart:68:18)\n<asynchronous suspension>\n#6 asyncTest (package:async_helper/async_helper.dart:90:11)\n#7 main (file:///b/s/w/ir/cache/builder/sdk/tests/compiler/dart2js/codegen/simple_function_subtype_test.dart:66:3)\n#8 _startIsolate.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:300:19)\n#9 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:171:12)\n\n--- Re-run this test:\npython tools/test.py -n unittest-asserts-no-sdk-linux dart2js/codegen/simple_function_subtype_test\n"} {"name":"dart2js/sourcemaps/deferred_d2js_validity_test","configuration":"unittest-asserts-no-sdk-linux","result":"RuntimeError","log":"--- Command \"vm\" (took 26.000593s):\nDART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart --enable_asserts --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages /b/s/w/ir/cache/builder/sdk/tests/compiler/dart2js/sourcemaps/deferred_d2js_validity_test.dart\n\nexit code:\n255\n\nstdout:\nunittest-suite-wait-for-done\nCompiling tests/compiler/dart2js/sourcemaps/test_files/deferred_validator_test_file.dart\nHint: When run on the command-line, the compiled output might require a preamble file located in:\n <sdk>/lib/_internal/js_runtime/lib/preambles.\nCompiled 7,396,999 characters Dart to 150,916 characters JavaScript in 14.7 seconds\nDart file (tests/compiler/dart2js/sourcemaps/test_files/deferred_validator_test_file.dart) compiled to JavaScript: ../../../tmp/t/sourceMap_test-UJFZVV/out.js\nAccessing file:///b/s/w/ir/tmp/t/sourceMap_test-UJFZVV/out.js\nAccessing file:///b/s/w/ir/tmp/t/sourceMap_test-UJFZVV/out.js.map\nChecking sources\n\nstderr:\nUnhandled exception:\nUnsupported operation: Cannot extract a file path from a org-dartlang-sdk URI\n#0 _Uri.toFilePath (dart:core/uri.dart:2610:7)\n#1 new File.fromUri (dart:io/file.dart:265:49)\n#2 checkFileReferences.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/tests/compiler/dart2js/sourcemaps/helpers/source_map_validator_helper.dart:71:23)\n#3 List.forEach (dart:core-patch/growable_array.dart:278:8)\n#4 checkFileReferences (file:///b/s/w/ir/cache/builder/sdk/tests/compiler/dart2js/sourcemaps/helpers/source_map_validator_helper.dart:70:18)\n#5 validateSourceMap (file:///b/s/w/ir/cache/builder/sdk/tests/compiler/dart2js/sourcemaps/helpers/source_map_validator_helper.dart:19:3)\n#6 main.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/tests/compiler/dart2js/sourcemaps/deferred_d2js_validity_test.dart:30:11)\n#7 _RootZone.runUnary (dart:async/zone.dart:1379:54)\n#8 _FutureListener.handleValue (dart:async/future_impl.dart:126:18)\n#9 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45)\n#10 Future._propagateToListeners (dart:async/future_impl.dart:668:32)\n#11 Future._complete (dart:async/future_impl.dart:473:7)\n#12 _SyncCompleter.complete (dart:async/future_impl.dart:51:12)\n#13 _RootZone.runUnary (dart:async/zone.dart:1379:54)\n#14 _FutureListener.handleValue (dart:async/future_impl.dart:126:18)\n#15 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45)\n#16 Future._propagateToListeners (dart:async/future_impl.dart:668:32)\n#17 Future._complete (dart:async/future_impl.dart:473:7)\n#18 _SyncCompleter.complete (dart:async/future_impl.dart:51:12)\n#19 _AsyncAwaitCompleter.complete (dart:async-patch/async_patch.dart:28:18)\n#20 _completeOnAsyncReturn (dart:async-patch/async_patch.dart:294:13)\n#21 Compiler.runInternal (package:compiler/src/compiler.dart)\n<asynchronous suspension>\n#22 Compiler.run.<anonymous closure>.<anonymous closure> (package:compiler/src/compiler.dart:223:38)\n#23 new Future.sync (dart:async/future.dart:224:31)\n#24 Compiler.run.<anonymous closure> (package:compiler/src/compiler.dart:223:20)\n#25 CompilerTask.measureSubtask (package:compiler/src/common/tasks.dart:179:35)\n#26 Compiler.run (package:compiler/src/compiler.dart:220:41)\n#27 CompilerImpl.run.<anonymous closure>.<anonymous closure> (package:compiler/src/apiimpl.dart:91:22)\n#28 _RootZone.runUnary (dart:async/zone.dart:1379:54)\n#29 _FutureListener.handleValue (dart:async/future_impl.dart:126:18)\n#30 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45)\n#31 Future._propagateToListeners (dart:async/future_impl.dart:668:32)\n#32 Future._completeWithValue (dart:async/future_impl.dart:483:5)\n#33 Future._asyncComplete.<anonymous closure> (dart:async/future_impl.dart:513:7)\n#34 _microtaskLoop (dart:async/schedule_microtask.dart:41:21)\n#35 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5)\n#36 _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:115:13)\n#37 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:172:5)\n\n--- Re-run this test:\npython tools/test.py -n unittest-asserts-no-sdk-linux dart2js/sourcemaps/deferred_d2js_validity_test\n"} {"name":"dart2js/sourcemaps/d2js_validity_test","configuration":"unittest-asserts-no-sdk-linux","result":"RuntimeError","log":"--- Command \"vm\" (took 20.000901s):\nDART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart --enable_asserts --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages /b/s/w/ir/cache/builder/sdk/tests/compiler/dart2js/sourcemaps/d2js_validity_test.dart\n\nexit code:\n255\n\nstdout:\nunittest-suite-wait-for-done\nCompiling tests/compiler/dart2js/sourcemaps/test_files/validator_test_file.dart\nCompiled 7,396,681 characters Dart to 56,118 characters JavaScript in 9.08 seconds\nDart file (tests/compiler/dart2js/sourcemaps/test_files/validator_test_file.dart) compiled to JavaScript: ../../../tmp/t/sourceMap_test-SEQWEH/out.js\nAccessing file:///b/s/w/ir/tmp/t/sourceMap_test-SEQWEH/out.js\nAccessing file:///b/s/w/ir/tmp/t/sourceMap_test-SEQWEH/out.js.map\nChecking sources\n\nstderr:\nUnhandled exception:\nUnsupported operation: Cannot extract a file path from a org-dartlang-sdk URI\n#0 _Uri.toFilePath (dart:core/uri.dart:2610:7)\n#1 new File.fromUri (dart:io/file.dart:265:49)\n#2 checkFileReferences.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/tests/compiler/dart2js/sourcemaps/helpers/source_map_validator_helper.dart:71:23)\n#3 List.forEach (dart:core-patch/growable_array.dart:278:8)\n#4 checkFileReferences (file:///b/s/w/ir/cache/builder/sdk/tests/compiler/dart2js/sourcemaps/helpers/source_map_validator_helper.dart:70:18)\n#5 validateSourceMap (file:///b/s/w/ir/cache/builder/sdk/tests/compiler/dart2js/sourcemaps/helpers/source_map_validator_helper.dart:19:3)\n#6 main.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/tests/compiler/dart2js/sourcemaps/d2js_validity_test.dart:29:11)\n#7 _RootZone.runUnary (dart:async/zone.dart:1379:54)\n#8 _FutureListener.handleValue (dart:async/future_impl.dart:126:18)\n#9 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45)\n#10 Future._propagateToListeners (dart:async/future_impl.dart:668:32)\n#11 Future._complete (dart:async/future_impl.dart:473:7)\n#12 _SyncCompleter.complete (dart:async/future_impl.dart:51:12)\n#13 _RootZone.runUnary (dart:async/zone.dart:1379:54)\n#14 _FutureListener.handleValue (dart:async/future_impl.dart:126:18)\n#15 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45)\n#16 Future._propagateToListeners (dart:async/future_impl.dart:668:32)\n#17 Future._complete (dart:async/future_impl.dart:473:7)\n#18 _SyncCompleter.complete (dart:async/future_impl.dart:51:12)\n#19 _AsyncAwaitCompleter.complete (dart:async-patch/async_patch.dart:28:18)\n#20 _completeOnAsyncReturn (dart:async-patch/async_patch.dart:294:13)\n#21 Compiler.runInternal (package:compiler/src/compiler.dart)\n<asynchronous suspension>\n#22 Compiler.run.<anonymous closure>.<anonymous closure> (package:compiler/src/compiler.dart:223:38)\n#23 new Future.sync (dart:async/future.dart:224:31)\n#24 Compiler.run.<anonymous closure> (package:compiler/src/compiler.dart:223:20)\n#25 CompilerTask.measureSubtask (package:compiler/src/common/tasks.dart:179:35)\n#26 Compiler.run (package:compiler/src/compiler.dart:220:41)\n#27 CompilerImpl.run.<anonymous closure>.<anonymous closure> (package:compiler/src/apiimpl.dart:91:22)\n#28 _RootZone.runUnary (dart:async/zone.dart:1379:54)\n#29 _FutureListener.handleValue (dart:async/future_impl.dart:126:18)\n#30 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45)\n#31 Future._propagateToListeners (dart:async/future_impl.dart:668:32)\n#32 Future._completeWithValue (dart:async/future_impl.dart:483:5)\n#33 Future._asyncComplete.<anonymous closure> (dart:async/future_impl.dart:513:7)\n#34 _microtaskLoop (dart:async/schedule_microtask.dart:41:21)\n#35 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5)\n#36 _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:115:13)\n#37 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:172:5)\n\n--- Re-run this test:\npython tools/test.py -n unittest-asserts-no-sdk-linux dart2js/sourcemaps/d2js_validity_test\n"} {"name":"dart2js/inference/type_mask2_test","configuration":"unittest-asserts-no-sdk-linux","result":"RuntimeError","log":"--- Command \"vm\" (took 17.000353s):\nDART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart --enable_asserts --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages /b/s/w/ir/cache/builder/sdk/tests/compiler/dart2js/inference/type_mask2_test.dart\n\nexit code:\n255\n\nstdout:\nunittest-suite-wait-for-done\n--test from kernel------------------------------------------------\n\nstderr:\nUnhandled exception:\nExpect.isFalse(true) fails.\n#0 Expect._fail (package:expect/expect.dart:655:5)\n#1 Expect.isFalse (package:expect/expect.dart:144:5)\n#2 testStringSubtypes (file:///b/s/w/ir/cache/builder/sdk/tests/compiler/dart2js/inference/type_mask2_test.dart:223:10)\n<asynchronous suspension>\n#3 main.runTests (file:///b/s/w/ir/cache/builder/sdk/tests/compiler/dart2js/inference/type_mask2_test.dart:29:11)\n<asynchronous suspension>\n#4 main.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/tests/compiler/dart2js/inference/type_mask2_test.dart:34:19)\n<asynchronous suspension>\n#5 asyncTest (package:async_helper/async_helper.dart:90:11)\n#6 main (file:///b/s/w/ir/cache/builder/sdk/tests/compiler/dart2js/inference/type_mask2_test.dart:32:3)\n#7 _startIsolate.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:300:19)\n#8 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:171:12)\n\n--- Re-run this test:\npython tools/test.py -n unittest-asserts-no-sdk-linux dart2js/inference/type_mask2_test\n"} {"name":"dart2js/sourcemaps/stacktrace_test","configuration":"unittest-asserts-no-sdk-linux","result":"Timeout","log":"--- Command \"vm\" (took 04:00.000524s):\nDART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart --enable_asserts --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages /b/s/w/ir/cache/builder/sdk/tests/compiler/dart2js/sourcemaps/stacktrace_test.dart\n\nexit code:\n-15\n\ndiagnostics:\nProcess list including children: [2741]\nTrying to capture stack trace for pid 2741\nPID 2741 - process\nTID 2741:\n#0 0x00007ff20622c360 pthread_cond_wait@@GLIBC_2.3.2\n#1 0x000055d5bf894648 dart::Monitor::WaitMicros(long)\n#2 0x000055d5bfab64da Dart_RunLoop\n#3 0x000055d5bf56b9ee dart::bin::RunMainIsolate(char const*, dart::bin::CommandLineOptions*)\n#4 0x000055d5bf56c870 dart::bin::main(int, char**)\n#5 0x000055d5bf56d189 main\n#6 0x00007ff205964830 __libc_start_main\n#7 0x000055d5bf56b029 _start\nTID 2742:\n#0 0x00007ff205a4ba13 epoll_wait\n#1 0x000055d5bf5743a5 dart::bin::EventHandlerImplementation::Poll(unsigned long)\n#2 0x000055d5bf592f05 dart::bin::ThreadStart(void*)\n#3 0x00007ff2062266ba start_thread\n#4 0x00007ff205a4b41d __clone\nTID 2743:\n#0 0x00007ff20622c360 pthread_cond_wait@@GLIBC_2.3.2\n#1 0x000055d5bf894648 dart::Monitor::WaitMicros(long)\n#2 0x000055d5bfa7391a dart::BackgroundCompiler::Run()\n#3 0x000055d5bf926ef7 dart::ThreadPool::Worker::Loop()\n#4 0x000055d5bf926db2 dart::ThreadPool::Worker::Main(unsigned long)\n#5 0x000055d5bf893f39 dart::ThreadStart(void*)\n#6 0x00007ff2062266ba start_thread\n#7 0x00007ff205a4b41d __clone\nTID 2750:\n#0 0x00007ff20622c360 pthread_cond_wait@@GLIBC_2.3.2\n#1 0x000055d5bf894648 dart::Monitor::WaitMicros(long)\n#2 0x000055d5bfa7391a dart::BackgroundCompiler::Run()\n#3 0x000055d5bf926ef7 dart::ThreadPool::Worker::Loop()\n#4 0x000055d5bf926db2 dart::ThreadPool::Worker::Main(unsigned long)\n#5 0x000055d5bf893f39 dart::ThreadStart(void*)\n#6 0x00007ff2062266ba start_thread\n#7 0x00007ff205a4b41d __clone\nTID 2771:\n#0 0x00007ff20622c360 pthread_cond_wait@@GLIBC_2.3.2\n#1 0x000055d5bf894648 dart::Monitor::WaitMicros(long)\n#2 0x000055d5bfa7391a dart::BackgroundCompiler::Run()\n#3 0x000055d5bf926ef7 dart::ThreadPool::Worker::Loop()\n#4 0x000055d5bf926db2 dart::ThreadPool::Worker::Main(unsigned long)\n#5 0x000055d5bf893f39 dart::ThreadStart(void*)\n#6 0x00007ff2062266ba start_thread\n#7 0x00007ff205a4b41d __clone\nTID 2774:\n#0 0x00007ff20316aadc\nTID 2828:\n#0 0x00007ff20622c360 pthread_cond_wait@@GLIBC_2.3.2\n#1 0x000055d5bf5935e8 dart::bin::Monitor::WaitMicros(long)\n#2 0x000055d5bf57a96a dart::bin::ExitCodeHandler::ExitCodeHandlerEntry(unsigned long)\n#3 0x000055d5bf592f05 dart::bin::ThreadStart(void*)\n#4 0x00007ff2062266ba start_thread\n#5 0x00007ff205a4b41d __clone\nTID 3938:\n#0 0x00007ff20622c709 pthread_cond_timedwait@@GLIBC_2.3.2\n#1 0x000055d5bf894630 dart::Monitor::WaitMicros(long)\n#2 0x000055d5bf926f7e dart::ThreadPool::Worker::Loop()\n#3 0x000055d5bf926db2 dart::ThreadPool::Worker::Main(unsigned long)\n#4 0x000055d5bf893f39 dart::ThreadStart(void*)\n#5 0x00007ff2062266ba start_thread\n#6 0x00007ff205a4b41d __clone\nTID 4004:\n#0 0x00007ff20622c709 pthread_cond_timedwait@@GLIBC_2.3.2\n#1 0x000055d5bf894630 dart::Monitor::WaitMicros(long)\n#2 0x000055d5bf926f7e dart::ThreadPool::Worker::Loop()\n#3 0x000055d5bf926db2 dart::ThreadPool::Worker::Main(unsigned long)\n#4 0x000055d5bf893f39 dart::ThreadStart(void*)\n#5 0x00007ff2062266ba start_thread\n#6 0x00007ff205a4b41d __clone\nTID 4005:\n#0 0x00007ff20622c709 pthread_cond_timedwait@@GLIBC_2.3.2\n#1 0x000055d5bf894630 dart::Monitor::WaitMicros(long)\n#2 0x000055d5bf926f7e dart::ThreadPool::Worker::Loop()\n#3 0x000055d5bf926db2 dart::ThreadPool::Worker::Main(unsigned long)\n#4 0x000055d5bf893f39 dart::ThreadStart(void*)\n#5 0x00007ff2062266ba start_thread\n#6 0x00007ff205a4b41d __clone\n\neu-stack: dwfl_thread_getframes tid 2774 at 0x7ff20316aadc in /memfd:dart_vm (deleted): Callback returned failure\n\n\nstdout:\nunittest-suite-wait-for-done\n----------------------------------------------------------------\nChecking file:///b/s/w/ir/cache/builder/sdk/tests/compiler/dart2js/sourcemaps/stacktrace/throw_in_async.dart\n----------------------------------------------------------------\n// Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file\n// for details. All rights reserved. Use of this source code is governed by a\n// BSD-style license that can be found in the LICENSE file.\n\nmain() {\n // This call is no longer on the stack when the error is thrown.\n test();\n}\n\n@pragma('dart2js:noInline')\ntest() async {\n await null;\n throw '>ExceptionMarker<';\n}\n\n---from kernel------------------------------------------------------\nCompiling dart2js -o/b/s/w/ir/tmp/t/stacktrace-testDTSSTL/out.js --libraries-spec=sdk/lib/libraries.json --packages=file:///b/s/w/ir/cache/builder/sdk/.packages --test-mode /b/s/w/ir/tmp/t/stacktrace-testDTSSTL/input.dart\nHint: When run on the command-line, the compiled output might require a preamble file located in:\n <sdk>/lib/_internal/js_runtime/lib/preambles.\nCompiled 7,396,658 characters Dart to 113,818 characters JavaScript in 13.7 seconds\nDart file (/b/s/w/ir/tmp/t/stacktrace-testDTSSTL/input.dart) compiled to JavaScript: ../../../tmp/t/stacktrace-testDTSSTL/out.js\nRunning d8 /b/s/w/ir/tmp/t/stacktrace-testDTSSTL/out.js\nDeleting '/b/s/w/ir/tmp/t/stacktrace-testDTSSTL'.\n---from kernel with CFE constants-----------------------------------\nCompiling dart2js -o/b/s/w/ir/tmp/t/stacktrace-testOHJXMO/out.js --libraries-spec=sdk/lib/libraries.json --packages=file:///b/s/w/ir/cache/builder/sdk/.packages --test-mode /b/s/w/ir/tmp/t/stacktrace-testOHJXMO/input.dart --enable-experiment=constant-update-2018\nHint: When run on the command-line, the compiled output might require a preamble file located in:\n <sdk>/lib/_internal/js_runtime/lib/preambles.\nCompiled 4,385,002 characters Dart to 113,326 characters JavaScript in 19.9 seconds\nDart file (/b/s/w/ir/tmp/t/stacktrace-testOHJXMO/input.dart) compiled to JavaScript: ../../../tmp/t/stacktrace-testOHJXMO/out.js\nRunning d8 /b/s/w/ir/tmp/t/stacktrace-testOHJXMO/out.js\nDeleting '/b/s/w/ir/tmp/t/stacktrace-testOHJXMO'.\n----------------------------------------------------------------\nChecking file:///b/s/w/ir/cache/builder/sdk/tests/compiler/dart2js/sourcemaps/stacktrace/null_interceptor_field.dart\n----------------------------------------------------------------\n// Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file\n// for details. All rights reserved. Use of this source code is governed by a\n// BSD-style license that can be found in the LICENSE file.\n\nclass MyType {\n get length => 3; // ensures we build an interceptor for `.length`\n}\n\nmain() {\n confuse('').trim(); // includes some code above the interceptors\n confuse([]).length;\n confuse(new MyType()).length;\n // TODO(johnniwinther): Intercepted access should point to 'length':\n confuse(null). length; // called through the interceptor\n}\n\n@pragma('dart2js:noInline')\nconfuse(x) => x;\n\n---from kernel------------------------------------------------------\nCompiling dart2js -o/b/s/w/ir/tmp/t/stacktrace-testKYVQHV/out.js --libraries-spec=sdk/lib/libraries.json --packages=file:///b/s/w/ir/cache/builder/sdk/.packages --test-mode /b/s/w/ir/tmp/t/stacktrace-testKYVQHV/input.dart\nCompiled 7,396,875 characters Dart to 46,579 characters JavaScript in 3.59 seconds\nDart file (/b/s/w/ir/tmp/t/stacktrace-testKYVQHV/input.dart) compiled to JavaScript: ../../../tmp/t/stacktrace-testKYVQHV/out.js\nRunning d8 /b/s/w/ir/tmp/t/stacktrace-testKYVQHV/out.js\nDeleting '/b/s/w/ir/tmp/t/stacktrace-testKYVQHV'.\n---from kernel with CFE constants-----------------------------------\nCompiling dart2js -o/b/s/w/ir/tmp/t/stacktrace-testPPMIID/out.js --libraries-spec=sdk/lib/libraries.json --packages=file:///b/s/w/ir/cache/builder/sdk/.packages --test-mode /b/s/w/ir/tmp/t/stacktrace-testPPMIID/input.dart --enable-experiment=constant-update-2018\nCompiled 4,385,219 characters Dart to 46,579 characters JavaScript in 8.30 seconds\nDart file (/b/s/w/ir/tmp/t/stacktrace-testPPMIID/input.dart) compiled to JavaScript: ../../../tmp/t/stacktrace-testPPMIID/out.js\nRunning d8 /b/s/w/ir/tmp/t/stacktrace-testPPMIID/out.js\nDeleting '/b/s/w/ir/tmp/t/stacktrace-testPPMIID'.\n----------------------------------------------------------------\nChecking file:///b/s/w/ir/cache/builder/sdk/tests/compiler/dart2js/sourcemaps/stacktrace/throw_in_instance_method.dart\n----------------------------------------------------------------\n// Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file\n// for details. All rights reserved. Use of this source code is governed by a\n// BSD-style license that can be found in the LICENSE file.\n\nmain() {\n var c = new Class();\n c. test();\n}\n\nclass Class {\n @pragma('dart2js:noInline')\n test() {\n throw '>ExceptionMarker<';\n }\n}\n\n---from kernel------------------------------------------------------\nCompiling dart2js -o/b/s/w/ir/tmp/t/stacktrace-testSRVXHR/out.js --libraries-spec=sdk/lib/libraries.json --packages=file:///b/s/w/ir/cache/builder/sdk/.packages --test-mode /b/s/w/ir/tmp/t/stacktrace-testSRVXHR/input.dart\nCompiled 7,396,621 characters Dart to 43,641 characters JavaScript in 2.92 seconds\nDart file (/b/s/w/ir/tmp/t/stacktrace-testSRVXHR/input.dart) compiled to JavaScript: ../../../tmp/t/stacktrace-testSRVXHR/out.js\nRunning d8 /b/s/w/ir/tmp/t/stacktrace-testSRVXHR/out.js\nDeleting '/b/s/w/ir/tmp/t/stacktrace-testSRVXHR'.\n---from kernel with CFE constants-----------------------------------\nCompiling dart2js -o/b/s/w/ir/tmp/t/stacktrace-testANRQIY/out.js --libraries-spec=sdk/lib/libraries.json --packages=file:///b/s/w/ir/cache/builder/sdk/.packages --test-mode /b/s/w/ir/tmp/t/stacktrace-testANRQIY/input.dart --enable-experiment=constant-update-2018\nCompiled 4,384,965 characters Dart to 43,641 characters JavaScript in 6.93 seconds\nDart file (/b/s/w/ir/tmp/t/stacktrace-testANRQIY/input.dart) compiled to JavaScript: ../../../tmp/t/stacktrace-testANRQIY/out.js\nRunning d8 /b/s/w/ir/tmp/t/stacktrace-testANRQIY/out.js\nDeleting '/b/s/w/ir/tmp/t/stacktrace-testANRQIY'.\n----------------------------------------------------------------\nChecking file:///b/s/w/ir/cache/builder/sdk/tests/compiler/dart2js/sourcemaps/stacktrace/setter_inlining.dart\n----------------------------------------------------------------\n// Copyright (c) 2018, the Dart project authors. Please see the AUTHORS file\n// for details. All rights reserved. Use of this source code is governed by a\n// BSD-style license that can be found in the LICENSE file.\n\nclass MyClass {\n int fieldName;\n\n MyClass(this.fieldName);\n\n set setterName(int v) => fieldName = v;\n}\n\n@pragma('dart2js:noInline')\nconfuse(x) => x;\n\nmain() {\n confuse(new MyClass(3));\n var m = confuse(null);\n m. setterName = 2;\n print(m.fieldName);\n}\n\n---from kernel------------------------------------------------------\nCompiling dart2js -o/b/s/w/ir/tmp/t/stacktrace-testXBEISN/out.js --libraries-spec=sdk/lib/libraries.json --packages=file:///b/s/w/ir/cache/builder/sdk/.packages --test-mode /b/s/w/ir/tmp/t/stacktrace-testXBEISN/input.dart\nCompiled 7,396,740 characters Dart to 44,178 characters JavaScript in 2.52 seconds\nDart file (/b/s/w/ir/tmp/t/stacktrace-testXBEISN/input.dart) compiled to JavaScript: ../../../tmp/t/stacktrace-testXBEISN/out.js\nRunning d8 /b/s/w/ir/tmp/t/stacktrace-testXBEISN/out.js\nDeleting '/b/s/w/ir/tmp/t/stacktrace-testXBEISN'.\n---from kernel with CFE constants-----------------------------------\nCompiling dart2js -o/b/s/w/ir/tmp/t/stacktrace-testNMRXQF/out.js --libraries-spec=sdk/lib/libraries.json --packages=file:///b/s/w/ir/cache/builder/sdk/.packages --test-mode /b/s/w/ir/tmp/t/stacktrace-testNMRXQF/input.dart --enable-experiment=constant-update-2018\nCompiled 4,385,084 characters Dart to 44,178 characters JavaScript in 6.59 seconds\nDart file (/b/s/w/ir/tmp/t/stacktrace-testNMRXQF/input.dart) compiled to JavaScript: ../../../tmp/t/stacktrace-testNMRXQF/out.js\nRunning d8 /b/s/w/ir/tmp/t/stacktrace-testNMRXQF/out.js\nDeleting '/b/s/w/ir/tmp/t/stacktrace-testNMRXQF'.\n----------------------------------------------------------------\nChecking file:///b/s/w/ir/cache/builder/sdk/tests/compiler/dart2js/sourcemaps/stacktrace/sync_throw_in_awaited_async.dart\n----------------------------------------------------------------\n// Copyright (c) 2018, the Dart project authors. Please see the AUTHORS file\n// for details. All rights reserved. Use of this source code is governed by a\n// BSD-style license that can be found in the LICENSE file.\n\nmain() {\n // This call is on the stack when the error is thrown.\n test1();\n}\n\n// TODO(34942): Step 3 should point to the body block.\n@pragma('dart2js:noInline')\ntest1 () async {\n // This call is on the stack when the error is thrown.\n await test2();\n}\n\n// TODO(34942): Step 7 should point to the body block.\n@pragma('dart2js:noInline')\ntest2 () async {\n throw '>ExceptionMarker<';\n}\n\n---from kernel------------------------------------------------------\nCompiling dart2js -o/b/s/w/ir/tmp/t/stacktrace-testKPMXZG/out.js --libraries-spec=sdk/lib/libraries.json --packages=file:///b/s/w/ir/cache/builder/sdk/.packages --test-mode /b/s/w/ir/tmp/t/stacktrace-testKPMXZG/input.dart\nHint: When run on the command-line, the compiled output might require a preamble file located in:\n <sdk>/lib/_internal/js_runtime/lib/preambles.\nCompiled 7,396,869 characters Dart to 114,431 characters JavaScript in 3.54 seconds\nDart file (/b/s/w/ir/tmp/t/stacktrace-testKPMXZG/input.dart) compiled to JavaScript: ../../../tmp/t/stacktrace-testKPMXZG/out.js\nRunning d8 /b/s/w/ir/tmp/t/stacktrace-testKPMXZG/out.js\nDeleting '/b/s/w/ir/tmp/t/stacktrace-testKPMXZG'.\n---from kernel with CFE constants-----------------------------------\nCompiling dart2js -o/b/s/w/ir/tmp/t/stacktrace-testIGVHEW/out.js --libraries-spec=sdk/lib/libraries.json --packages=file:///b/s/w/ir/cache/builder/sdk/.packages --test-mode /b/s/w/ir/tmp/t/stacktrace-testIGVHEW/input.dart --enable-experiment=constant-update-2018\nHint: When run on the command-line, the compiled output might require a preamble file located in:\n <sdk>/lib/_internal/js_runtime/lib/preambles.\nCompiled 4,385,213 characters Dart to 113,939 characters JavaScript in 7.69 seconds\nDart file (/b/s/w/ir/tmp/t/stacktrace-testIGVHEW/input.dart) compiled to JavaScript: ../../../tmp/t/stacktrace-testIGVHEW/out.js\nRunning d8 /b/s/w/ir/tmp/t/stacktrace-testIGVHEW/out.js\nDeleting '/b/s/w/ir/tmp/t/stacktrace-testIGVHEW'.\n----------------------------------------------------------------\nChecking file:///b/s/w/ir/cache/builder/sdk/tests/compiler/dart2js/sourcemaps/stacktrace/throw_in_main.dart\n----------------------------------------------------------------\n// Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file\n// for details. All rights reserved. Use of this source code is governed by a\n// BSD-style license that can be found in the LICENSE file.\n\nmain() {\n throw '>ExceptionMarker<';\n}\n\n---from kernel------------------------------------------------------\nCompiling dart2js -o/b/s/w/ir/tmp/t/stacktrace-testHSSUOU/out.js --libraries-spec=sdk/lib/libraries.json --packages=file:///b/s/w/ir/cache/builder/sdk/.packages --test-mode /b/s/w/ir/tmp/t/stacktrace-testHSSUOU/input.dart\nCompiled 7,396,521 characters Dart to 43,505 characters JavaScript in 2.60 seconds\nDart file (/b/s/w/ir/tmp/t/stacktrace-testHSSUOU/input.dart) compiled to JavaScript: ../../../tmp/t/stacktrace-testHSSUOU/out.js\nRunning d8 /b/s/w/ir/tmp/t/stacktrace-testHSSUOU/out.js\nDeleting '/b/s/w/ir/tmp/t/stacktrace-testHSSUOU'.\n---from kernel with CFE constants-----------------------------------\nCompiling dart2js -o/b/s/w/ir/tmp/t/stacktrace-testZTJQUZ/out.js --libraries-spec=sdk/lib/libraries.json --packages=file:///b/s/w/ir/cache/builder/sdk/.packages --test-mode /b/s/w/ir/tmp/t/stacktrace-testZTJQUZ/input.dart --enable-experiment=constant-update-2018\nCompiled 4,384,865 characters Dart to 43,505 characters JavaScript in 6.08 seconds\nDart file (/b/s/w/ir/tmp/t/stacktrace-testZTJQUZ/input.dart) compiled to JavaScript: ../../../tmp/t/stacktrace-testZTJQUZ/out.js\nRunning d8 /b/s/w/ir/tmp/t/stacktrace-testZTJQUZ/out.js\nDeleting '/b/s/w/ir/tmp/t/stacktrace-testZTJQUZ'.\n----------------------------------------------------------------\nChecking file:///b/s/w/ir/cache/builder/sdk/tests/compiler/dart2js/sourcemaps/stacktrace/null_instance_field_elided.dart\n----------------------------------------------------------------\n// Copyright (c) 2019, the Dart project authors. Please see the AUTHORS file\n// for details. All rights reserved. Use of this source code is governed by a\n// BSD-style license that can be found in the LICENSE file.\n\nmain() {\n test(new Class());\n}\n\n@pragma('dart2js:noInline')\ntest(c) {\n c.field. method();\n}\n\nclass Class {\n var field;\n}\n\n---from kernel------------------------------------------------------\nCompiling dart2js -o/b/s/w/ir/tmp/t/stacktrace-testPEBZMG/out.js --libraries-spec=sdk/lib/libraries.json --packages=file:///b/s/w/ir/cache/builder/sdk/.packages --test-mode /b/s/w/ir/tmp/t/stacktrace-testPEBZMG/input.dart\nCompiled 7,396,605 characters Dart to 11,665 characters JavaScript in 1.95 seconds\nDart file (/b/s/w/ir/tmp/t/stacktrace-testPEBZMG/input.dart) compiled to JavaScript: ../../../tmp/t/stacktrace-testPEBZMG/out.js\nRunning d8 /b/s/w/ir/tmp/t/stacktrace-testPEBZMG/out.js\nDeleting '/b/s/w/ir/tmp/t/stacktrace-testPEBZMG'.\n---from kernel with CFE constants-----------------------------------\nCompiling dart2js -o/b/s/w/ir/tmp/t/stacktrace-testWBTJDN/out.js --libraries-spec=sdk/lib/libraries.json --packages=file:///b/s/w/ir/cache/builder/sdk/.packages --test-mode /b/s/w/ir/tmp/t/stacktrace-testWBTJDN/input.dart --enable-experiment=constant-update-2018\nCompiled 4,384,949 characters Dart to 11,665 characters JavaScript in 5.58 seconds\nDart file (/b/s/w/ir/tmp/t/stacktrace-testWBTJDN/input.dart) compiled to JavaScript: ../../../tmp/t/stacktrace-testWBTJDN/out.js\nRunning d8 /b/s/w/ir/tmp/t/stacktrace-testWBTJDN/out.js\nDeleting '/b/s/w/ir/tmp/t/stacktrace-testWBTJDN'.\n----------------------------------------------------------------\nChecking file:///b/s/w/ir/cache/builder/sdk/tests/compiler/dart2js/sourcemaps/stacktrace/throw_in_top_level_method_from_async.dart\n----------------------------------------------------------------\n// Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file\n// for details. All rights reserved. Use of this source code is governed by a\n// BSD-style license that can be found in the LICENSE file.\n\nmain() {\n test1();\n}\n\n@pragma('dart2js:noInline')\ntest1() async {\n await null;\n test2();\n}\n\n@pragma('dart2js:noInline')\ntest2() {\n throw '>ExceptionMarker<';\n}\n\n---from kernel------------------------------------------------------\nCompiling dart2js -o/b/s/w/ir/tmp/t/stacktrace-testCEWNAQ/out.js --libraries-spec=sdk/lib/libraries.json --packages=file:///b/s/w/ir/cache/builder/sdk/.packages --test-mode /b/s/w/ir/tmp/t/stacktrace-testCEWNAQ/input.dart\nHint: When run on the command-line, the compiled output might require a preamble file located in:\n <sdk>/lib/_internal/js_runtime/lib/preambles.\nCompiled 7,396,645 characters Dart to 113,871 characters JavaScript in 3.27 seconds\nDart file (/b/s/w/ir/tmp/t/stacktrace-testCEWNAQ/input.dart) compiled to JavaScript: ../../../tmp/t/stacktrace-testCEWNAQ/out.js\nRunning d8 /b/s/w/ir/tmp/t/stacktrace-testCEWNAQ/out.js\nDeleting '/b/s/w/ir/tmp/t/stacktrace-testCEWNAQ'.\n---from kernel with CFE constants-----------------------------------\nCompiling dart2js -o/b/s/w/ir/tmp/t/stacktrace-testDWZUDJ/out.js --libraries-spec=sdk/lib/libraries.json --packages=file:///b/s/w/ir/cache/builder/sdk/.packages --test-mode /b/s/w/ir/tmp/t/stacktrace-testDWZUDJ/input.dart --enable-experiment=constant-update-2018\nHint: When run on the command-line, the compiled output might require a preamble file located in:\n <sdk>/lib/_internal/js_runtime/lib/preambles.\nCompiled 4,384,989 characters Dart to 113,379 characters JavaScript in 6.21 seconds\nDart file (/b/s/w/ir/tmp/t/stacktrace-testDWZUDJ/input.dart) compiled to JavaScript: ../../../tmp/t/stacktrace-testDWZUDJ/out.js\nRunning d8 /b/s/w/ir/tmp/t/stacktrace-testDWZUDJ/out.js\nDeleting '/b/s/w/ir/tmp/t/stacktrace-testDWZUDJ'.\n----------------------------------------------------------------\nChecking file:///b/s/w/ir/cache/builder/sdk/tests/compiler/dart2js/sourcemaps/stacktrace/throw_in_try_catch.dart\n----------------------------------------------------------------\n// Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file\n// for details. All rights reserved. Use of this source code is governed by a\n// BSD-style license that can be found in the LICENSE file.\n\nmain() {\n test();\n}\n\n@pragma('dart2js:noInline')\ntest() {\n try {\n throw '>ExceptionMarker<';\n // ignore: UNUSED_CATCH_CLAUSE\n } on Error catch (e) {}\n}\n\n---from kernel------------------------------------------------------\nCompiling dart2js -o/b/s/w/ir/tmp/t/stacktrace-testQPJPJD/out.js --libraries-spec=sdk/lib/libraries.json --packages=file:///b/s/w/ir/cache/builder/sdk/.packages --test-mode /b/s/w/ir/tmp/t/stacktrace-testQPJPJD/input.dart\nCompiled 7,396,642 characters Dart to 69,105 characters JavaScript in 2.34 seconds\nDart file (/b/s/w/ir/tmp/t/stacktrace-testQPJPJD/input.dart) compiled to JavaScript: ../../../tmp/t/stacktrace-testQPJPJD/out.js\nRunning d8 /b/s/w/ir/tmp/t/stacktrace-testQPJPJD/out.js\nDeleting '/b/s/w/ir/tmp/t/stacktrace-testQPJPJD'.\n---from kernel with CFE constants-----------------------------------\nCompiling dart2js -o/b/s/w/ir/tmp/t/stacktrace-testMYCUJN/out.js --libraries-spec=sdk/lib/libraries.json --packages=file:///b/s/w/ir/cache/builder/sdk/.packages --test-mode /b/s/w/ir/tmp/t/stacktrace-testMYCUJN/input.dart --enable-experiment=constant-update-2018\nCompiled 4,384,986 characters Dart to 69,105 characters JavaScript in 6.19 seconds\nDart file (/b/s/w/ir/tmp/t/stacktrace-testMYCUJN/input.dart) compiled to JavaScript: ../../../tmp/t/stacktrace-testMYCUJN/out.js\nRunning d8 /b/s/w/ir/tmp/t/stacktrace-testMYCUJN/out.js\nDeleting '/b/s/w/ir/tmp/t/stacktrace-testMYCUJN'.\n----------------------------------------------------------------\nChecking file:///b/s/w/ir/cache/builder/sdk/tests/compiler/dart2js/sourcemaps/stacktrace/sync_throw_in_async.dart\n----------------------------------------------------------------\n// Copyright (c) 2018, the Dart project authors. Please see the AUTHORS file\n// for details. All rights reserved. Use of this source code is governed by a\n// BSD-style license that can be found in the LICENSE file.\n\nmain() {\n // This call is on the stack when the error is thrown.\n test();\n}\n\n// TODO(34942): Step 2 should point to the body block.\n@pragma('dart2js:noInline')\ntest () async {\n throw '>ExceptionMarker<';\n}\n\n---from kernel------------------------------------------------------\nCompiling dart2js -o/b/s/w/ir/tmp/t/stacktrace-testRCUBOC/out.js --libraries-spec=sdk/lib/libraries.json --packages=file:///b/s/w/ir/cache/builder/sdk/.packages --test-mode /b/s/w/ir/tmp/t/stacktrace-testRCUBOC/input.dart\nHint: When run on the command-line, the compiled output might require a preamble file located in:\n <sdk>/lib/_internal/js_runtime/lib/preambles.\nCompiled 7,396,690 characters Dart to 113,673 characters JavaScript in 2.72 seconds\nDart file (/b/s/w/ir/tmp/t/stacktrace-testRCUBOC/input.dart) compiled to JavaScript: ../../../tmp/t/stacktrace-testRCUBOC/out.js\nRunning d8 /b/s/w/ir/tmp/t/stacktrace-testRCUBOC/out.js\nDeleting '/b/s/w/ir/tmp/t/stacktrace-testRCUBOC'.\n---from kernel with CFE constants-----------------------------------\nCompiling dart2js -o/b/s/w/ir/tmp/t/stacktrace-testETHRKW/out.js --libraries-spec=sdk/lib/libraries.json --packages=file:///b/s/w/ir/cache/builder/sdk/.packages --test-mode /b/s/w/ir/tmp/t/stacktrace-testETHRKW/input.dart --enable-experiment=constant-update-2018\nHint: When run on the command-line, the compiled output might require a preamble file located in:\n <sdk>/lib/_internal/js_runtime/lib/preambles.\nCompiled 4,385,034 characters Dart to 113,181 characters JavaScript in 7.61 seconds\nDart file (/b/s/w/ir/tmp/t/stacktrace-testETHRKW/input.dart) compiled to JavaScript: ../../../tmp/t/stacktrace-testETHRKW/out.js\nRunning d8 /b/s/w/ir/tmp/t/stacktrace-testETHRKW/out.js\nDeleting '/b/s/w/ir/tmp/t/stacktrace-testETHRKW'.\n----------------------------------------------------------------\nChecking file:///b/s/w/ir/cache/builder/sdk/tests/compiler/dart2js/sourcemaps/stacktrace/getter_inlining.dart\n----------------------------------------------------------------\nclass MyClass {\n int fieldName;\n\n MyClass(this.fieldName);\n\n int get getterName => fieldName;\n}\n\n@pragma('dart2js:noInline')\nconfuse(x) => x;\n\nmain() {\n confuse(new MyClass(3));\n var m = confuse(null);\n m. getterName;\n}\n\n---from kernel------------------------------------------------------\nCompiling dart2js -o/b/s/w/ir/tmp/t/stacktrace-testGRYEEZ/out.js --libraries-spec=sdk/lib/libraries.json --packages=file:///b/s/w/ir/cache/builder/sdk/.packages --test-mode /b/s/w/ir/tmp/t/stacktrace-testGRYEEZ/input.dart\nCompiled 7,396,490 characters Dart to 43,682 characters JavaScript in 2.97 seconds\nDart file (/b/s/w/ir/tmp/t/stacktrace-testGRYEEZ/input.dart) compiled to JavaScript: ../../../tmp/t/stacktrace-testGRYEEZ/out.js\nRunning d8 /b/s/w/ir/tmp/t/stacktrace-testGRYEEZ/out.js\nDeleting '/b/s/w/ir/tmp/t/stacktrace-testGRYEEZ'.\n---from kernel with CFE constants-----------------------------------\nCompiling dart2js -o/b/s/w/ir/tmp/t/stacktrace-testPHFTGN/out.js --libraries-spec=sdk/lib/libraries.json --packages=file:///b/s/w/ir/cache/builder/sdk/.packages --test-mode /b/s/w/ir/tmp/t/stacktrace-testPHFTGN/input.dart --enable-experiment=constant-update-2018\nCompiled 4,384,834 characters Dart to 43,682 characters JavaScript in 4.74 seconds\nDart file (/b/s/w/ir/tmp/t/stacktrace-testPHFTGN/input.dart) compiled to JavaScript: ../../../tmp/t/stacktrace-testPHFTGN/out.js\nRunning d8 /b/s/w/ir/tmp/t/stacktrace-testPHFTGN/out.js\nDeleting '/b/s/w/ir/tmp/t/stacktrace-testPHFTGN'.\n----------------------------------------------------------------\nChecking file:///b/s/w/ir/cache/builder/sdk/tests/compiler/dart2js/sourcemaps/stacktrace/sync_throw_in_constructor_from_async.dart\n----------------------------------------------------------------\n// Copyright (c) 2018, the Dart project authors. Please see the AUTHORS file\n// for details. All rights reserved. Use of this source code is governed by a\n// BSD-style license that can be found in the LICENSE file.\n\nmain() {\n test();\n}\n\ntest() async {\n // TODO(johnniwinther): Investigate why kernel doesn't point to the body\n // start brace.\n // ignore: UNUSED_LOCAL_VARIABLE\n var c = new Class();\n}\n\nclass Class {\n @pragma('dart2js:noInline')\n Class() {\n throw '>ExceptionMarker<';\n }\n}\n\n---from kernel------------------------------------------------------\nCompiling dart2js -o/b/s/w/ir/tmp/t/stacktrace-testRXJRIO/out.js --libraries-spec=sdk/lib/libraries.json --packages=file:///b/s/w/ir/cache/builder/sdk/.packages --test-mode /b/s/w/ir/tmp/t/stacktrace-testRXJRIO/input.dart\nHint: When run on the command-line, the compiled output might require a preamble file located in:\n <sdk>/lib/_internal/js_runtime/lib/preambles.\nCompiled 7,396,765 characters Dart to 113,819 characters JavaScript in 3.29 seconds\nDart file (/b/s/w/ir/tmp/t/stacktrace-testRXJRIO/input.dart) compiled to JavaScript: ../../../tmp/t/stacktrace-testRXJRIO/out.js\nRunning d8 /b/s/w/ir/tmp/t/stacktrace-testRXJRIO/out.js\nDeleting '/b/s/w/ir/tmp/t/stacktrace-testRXJRIO'.\n---from kernel with CFE constants-----------------------------------\nCompiling dart2js -o/b/s/w/ir/tmp/t/stacktrace-testZSJSXZ/out.js --libraries-spec=sdk/lib/libraries.json --packages=file:///b/s/w/ir/cache/builder/sdk/.packages --test-mode /b/s/w/ir/tmp/t/stacktrace-testZSJSXZ/input.dart --enable-experiment=constant-update-2018\nHint: When run on the command-line, the compiled output might require a preamble file located in:\n <sdk>/lib/_internal/js_runtime/lib/preambles.\nCompiled 4,385,109 characters Dart to 113,327 characters JavaScript in 6.68 seconds\nDart file (/b/s/w/ir/tmp/t/stacktrace-testZSJSXZ/input.dart) compiled to JavaScript: ../../../tmp/t/stacktrace-testZSJSXZ/out.js\nRunning d8 /b/s/w/ir/tmp/t/stacktrace-testZSJSXZ/out.js\nDeleting '/b/s/w/ir/tmp/t/stacktrace-testZSJSXZ'.\n----------------------------------------------------------------\nChecking file:///b/s/w/ir/cache/builder/sdk/tests/compiler/dart2js/sourcemaps/stacktrace/throw_in_awaited_async.dart\n----------------------------------------------------------------\n// Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file\n// for details. All rights reserved. Use of this source code is governed by a\n// BSD-style license that can be found in the LICENSE file.\n\nmain() {\n test1();\n}\n\n@pragma('dart2js:noInline')\ntest1() async {\n // This call is no longer on the stack when the error is thrown.\n await test2();\n}\n\n@pragma('dart2js:noInline')\ntest2() async {\n await null;\n throw '>ExceptionMarker<';\n}\n\n---from kernel------------------------------------------------------\nCompiling dart2js -o/b/s/w/ir/tmp/t/stacktrace-testRJWZES/out.js --libraries-spec=sdk/lib/libraries.json --packages=file:///b/s/w/ir/cache/builder/sdk/.packages --test-mode /b/s/w/ir/tmp/t/stacktrace-testRJWZES/input.dart\nHint: When run on the command-line, the compiled output might require a preamble file located in:\n <sdk>/lib/_internal/js_runtime/lib/preambles.\nCompiled 7,396,724 characters Dart to 114,577 characters JavaScript in 3.08 seconds\nDart file (/b/s/w/ir/tmp/t/stacktrace-testRJWZES/input.dart) compiled to JavaScript: ../../../tmp/t/stacktrace-testRJWZES/out.js\nRunning d8 /b/s/w/ir/tmp/t/stacktrace-testRJWZES/out.js\nDeleting '/b/s/w/ir/tmp/t/stacktrace-testRJWZES'.\n---from kernel with CFE constants-----------------------------------\nCompiling dart2js -o/b/s/w/ir/tmp/t/stacktrace-testSNQAOY/out.js --libraries-spec=sdk/lib/libraries.json --packages=file:///b/s/w/ir/cache/builder/sdk/.packages --test-mode /b/s/w/ir/tmp/t/stacktrace-testSNQAOY/input.dart --enable-experiment=constant-update-2018\nHint: When run on the command-line, the compiled output might require a preamble file located in:\n <sdk>/lib/_internal/js_runtime/lib/preambles.\nCompiled 4,385,068 characters Dart to 114,085 characters JavaScript in 7.34 seconds\nDart file (/b/s/w/ir/tmp/t/stacktrace-testSNQAOY/input.dart) compiled to JavaScript: ../../../tmp/t/stacktrace-testSNQAOY/out.js\nRunning d8 /b/s/w/ir/tmp/t/stacktrace-testSNQAOY/out.js\nDeleting '/b/s/w/ir/tmp/t/stacktrace-testSNQAOY'.\n----------------------------------------------------------------\nChecking file:///b/s/w/ir/cache/builder/sdk/tests/compiler/dart2js/sourcemaps/stacktrace/throw_in_constructor.dart\n----------------------------------------------------------------\n// Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file\n// for details. All rights reserved. Use of this source code is governed by a\n// BSD-style license that can be found in the LICENSE file.\n\nmain() {\n // ignore: UNUSED_LOCAL_VARIABLE\n var c = new Class();\n}\n\nclass Class {\n @pragma('dart2js:noInline')\n Class() {\n throw '>ExceptionMarker<';\n }\n}\n\n---from kernel------------------------------------------------------\nCompiling dart2js -o/b/s/w/ir/tmp/t/stacktrace-testXWZZXK/out.js --libraries-spec=sdk/lib/libraries.json --packages=file:///b/s/w/ir/cache/builder/sdk/.packages --test-mode /b/s/w/ir/tmp/t/stacktrace-testXWZZXK/input.dart\nCompiled 7,396,644 characters Dart to 43,651 characters JavaScript in 2.17 seconds\nDart file (/b/s/w/ir/tmp/t/stacktrace-testXWZZXK/input.dart) compiled to JavaScript: ../../../tmp/t/stacktrace-testXWZZXK/out.js\nRunning d8 /b/s/w/ir/tmp/t/stacktrace-testXWZZXK/out.js\nDeleting '/b/s/w/ir/tmp/t/stacktrace-testXWZZXK'.\n---from kernel with CFE constants-----------------------------------\nCompiling dart2js -o/b/s/w/ir/tmp/t/stacktrace-testXVBTRT/out.js --libraries-spec=sdk/lib/libraries.json --packages=file:///b/s/w/ir/cache/builder/sdk/.packages --test-mode /b/s/w/ir/tmp/t/stacktrace-testXVBTRT/input.dart --enable-experiment=constant-update-2018\nCompiled 4,384,988 characters Dart to 43,651 characters JavaScript in 5.15 seconds\nDart file (/b/s/w/ir/tmp/t/stacktrace-testXVBTRT/input.dart) compiled to JavaScript: ../../../tmp/t/stacktrace-testXVBTRT/out.js\nRunning d8 /b/s/w/ir/tmp/t/stacktrace-testXVBTRT/out.js\nDeleting '/b/s/w/ir/tmp/t/stacktrace-testXVBTRT'.\n----------------------------------------------------------------\nChecking file:///b/s/w/ir/cache/builder/sdk/tests/compiler/dart2js/sourcemaps/stacktrace/parameters.dart\n----------------------------------------------------------------\n// Copyright (c) 2018, the Dart project authors. Please see the AUTHORS file\n// for details. All rights reserved. Use of this source code is governed by a\n// BSD-style license that can be found in the LICENSE file.\n\nmain() {\n var c = new Class();\n c. instancePositional1(0);\n\n // Use all optional parameters to ensure that they are not elided.\n var d = new Class();\n d.instancePositional1(null, null, null);\n d.instancePositional2(null, null, null);\n d.instanceNamed1(null, b: null, c: null, d: null);\n d.instanceNamed2(null, b: null, c: null, d: null);\n d.instanceNamed3(null, b: null, c: null, d: null);\n d.instanceNamed4(null, b: null, c: null, d: null);\n}\n\nclass Class {\n @pragma('dart2js:noInline')\n instancePositional1(a,\n [b = 42, c = 87]) {\n print('instancePositional1($a,$b,$c)');\n instancePositional2(1, 2);\n }\n\n @pragma('dart2js:noInline')\n instancePositional2(a,\n [b = 42, c = 87]) {\n print('instancePositional2($a,$b,$c)');\n instancePositional3(3, 4, 5);\n }\n\n @pragma('dart2js:noInline')\n instancePositional3(a, [b = 42, c = 87]) {\n print('instancePositional3($a,$b,$c)');\n instanceNamed1(0);\n }\n\n @pragma('dart2js:noInline')\n instanceNamed1(a,\n {b: 42, c: 87, d: 735}) {\n print('instanceNamed1($a,b:$b,c:$c,d:$d)');\n instanceNamed2(1, b: 2);\n }\n\n @pragma('dart2js:noInline')\n instanceNamed2(a,\n {b: 42, c: 87, d: 735}) {\n print('instanceNamed2($a,b:$b,c:$c,d:$d)');\n instanceNamed3(3, c: 123);\n }\n\n @pragma('dart2js:noInline')\n instanceNamed3(a,\n {b: 42, c: 87, d: 735}) {\n print('instanceNamed3($a,b:$b,c:$c,d:$d)');\n instanceNamed4(4, c: 45, b: 76);\n }\n\n @pragma('dart2js:noInline')\n instanceNamed4(a,\n {b: 42, c: 87, d: 735}) {\n print('instanceNamed4($a,b:$b,c:$c,d:$d)');\n instanceNamed5(5, c: 6, b: 7, d: 8);\n }\n\n @pragma('dart2js:noInline')\n instanceNamed5(a, {b: 42, c: 87, d: 735}) {\n print('instanceNamed5($a,b:$b,c:$c,d:$d)');\n local([e = 42]) {\n print('instanceNamed5.local($e)');\n throw '>ExceptionMarker<';\n }\n\n var anonymous = (\n {f: 87}) {\n print('instanceNamed5.<anonymous(f:$f)');\n local();\n };\n anonymous. call();\n }\n}\n\n---from kernel------------------------------------------------------\nCompiling dart2js -o/b/s/w/ir/tmp/t/stacktrace-testPCMNYU/out.js --libraries-spec=sdk/lib/libraries.json --packages=file:///b/s/w/ir/cache/builder/sdk/.packages --test-mode /b/s/w/ir/tmp/t/stacktrace-testPCMNYU/input.dart\nCompiled 7,398,467 characters Dart to 59,399 characters JavaScript in 3.63 seconds\nDart file (/b/s/w/ir/tmp/t/stacktrace-testPCMNYU/input.dart) compiled to JavaScript: ../../../tmp/t/stacktrace-testPCMNYU/out.js\nRunning d8 /b/s/w/ir/tmp/t/stacktrace-testPCMNYU/out.js\nDeleting '/b/s/w/ir/tmp/t/stacktrace-testPCMNYU'.\n---from kernel with CFE constants-----------------------------------\nCompiling dart2js -o/b/s/w/ir/tmp/t/stacktrace-testNEGRVU/out.js --libraries-spec=sdk/lib/libraries.json --packages=file:///b/s/w/ir/cache/builder/sdk/.packages --test-mode /b/s/w/ir/tmp/t/stacktrace-testNEGRVU/input.dart --enable-experiment=constant-update-2018\nCompiled 4,386,811 characters Dart to 59,377 characters JavaScript in 5.25 seconds\nDart file (/b/s/w/ir/tmp/t/stacktrace-testNEGRVU/input.dart) compiled to JavaScript: ../../../tmp/t/stacktrace-testNEGRVU/out.js\nRunning d8 /b/s/w/ir/tmp/t/stacktrace-testNEGRVU/out.js\nDeleting '/b/s/w/ir/tmp/t/stacktrace-testNEGRVU'.\n----------------------------------------------------------------\nChecking file:///b/s/w/ir/cache/builder/sdk/tests/compiler/dart2js/sourcemaps/stacktrace/throw_in_top_level_method.dart\n----------------------------------------------------------------\n// Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file\n// for details. All rights reserved. Use of this source code is governed by a\n// BSD-style license that can be found in the LICENSE file.\n\nmain() {\n test();\n}\n\n@pragma('dart2js:noInline')\ntest() {\n throw '>ExceptionMarker<';\n}\n\n---from kernel------------------------------------------------------\nCompiling dart2js -o/b/s/w/ir/tmp/t/stacktrace-testGHIWSL/out.js --libraries-spec=sdk/lib/libraries.json --packages=file:///b/s/w/ir/cache/builder/sdk/.packages --test-mode /b/s/w/ir/tmp/t/stacktrace-testGHIWSL/input.dart\nCompiled 7,396,571 characters Dart to 43,551 characters JavaScript in 1.86 seconds\nDart file (/b/s/w/ir/tmp/t/stacktrace-testGHIWSL/input.dart) compiled to JavaScript: ../../../tmp/t/stacktrace-testGHIWSL/out.js\nRunning d8 /b/s/w/ir/tmp/t/stacktrace-testGHIWSL/out.js\nDeleting '/b/s/w/ir/tmp/t/stacktrace-testGHIWSL'.\n---from kernel with CFE constants-----------------------------------\nCompiling dart2js -o/b/s/w/ir/tmp/t/stacktrace-testCBZILP/out.js --libraries-spec=sdk/lib/libraries.json --packages=file:///b/s/w/ir/cache/builder/sdk/.packages --test-mode /b/s/w/ir/tmp/t/stacktrace-testCBZILP/input.dart --enable-experiment=constant-update-2018\nCompiled 4,384,915 characters Dart to 43,551 characters JavaScript in 5.62 seconds\nDart file (/b/s/w/ir/tmp/t/stacktrace-testCBZILP/input.dart) compiled to JavaScript: ../../../tmp/t/stacktrace-testCBZILP/out.js\nRunning d8 /b/s/w/ir/tmp/t/stacktrace-testCBZILP/out.js\nDeleting '/b/s/w/ir/tmp/t/stacktrace-testCBZILP'.\n----------------------------------------------------------------\nChecking file:///b/s/w/ir/cache/builder/sdk/tests/compiler/dart2js/sourcemaps/stacktrace/throw_in_static_method.dart\n----------------------------------------------------------------\n// Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file\n// for details. All rights reserved. Use of this source code is governed by a\n// BSD-style license that can be found in the LICENSE file.\n\nmain() {\n Class. test();\n}\n\nclass Class {\n @pragma('dart2js:noInline')\n static test() {\n throw '>ExceptionMarker<';\n }\n}\n\n---from kernel------------------------------------------------------\nCompiling dart2js -o/b/s/w/ir/tmp/t/stacktrace-testYBQLPJ/out.js --libraries-spec=sdk/lib/libraries.json --packages=file:///b/s/w/ir/cache/builder/sdk/.packages --test-mode /b/s/w/ir/tmp/t/stacktrace-testYBQLPJ/input.dart\nCompiled 7,396,609 characters Dart to 43,563 characters JavaScript in 3.60 seconds\nDart file (/b/s/w/ir/tmp/t/stacktrace-testYBQLPJ/input.dart) compiled to JavaScript: ../../../tmp/t/stacktrace-testYBQLPJ/out.js\nRunning d8 /b/s/w/ir/tmp/t/stacktrace-testYBQLPJ/out.js\nDeleting '/b/s/w/ir/tmp/t/stacktrace-testYBQLPJ'.\n---from kernel with CFE constants-----------------------------------\nCompiling dart2js -o/b/s/w/ir/tmp/t/stacktrace-testOFZADD/out.js --libraries-spec=sdk/lib/libraries.json --packages=file:///b/s/w/ir/cache/builder/sdk/.packages --test-mode /b/s/w/ir/tmp/t/stacktrace-testOFZADD/input.dart --enable-experiment=constant-update-2018\nCompiled 4,384,953 characters Dart to 43,563 characters JavaScript in 5.06 seconds\nDart file (/b/s/w/ir/tmp/t/stacktrace-testOFZADD/input.dart) compiled to JavaScript: ../../../tmp/t/stacktrace-testOFZADD/out.js\nRunning d8 /b/s/w/ir/tmp/t/stacktrace-testOFZADD/out.js\nDeleting '/b/s/w/ir/tmp/t/stacktrace-testOFZADD'.\n----------------------------------------------------------------\nChecking file:///b/s/w/ir/cache/builder/sdk/tests/compiler/dart2js/sourcemaps/stacktrace/deep_inlining.dart\n----------------------------------------------------------------\n// Copyright (c) 2019, the Dart project authors. Please see the AUTHORS file\n// for details. All rights reserved. Use of this source code is governed by a\n// BSD-style license that can be found in the LICENSE file.\n\nclass MyClass {}\n\n@pragma('dart2js:noInline')\nmethod3() {\n throw new MyClass();\n}\n\nmethod2() => method3();\nmethod4() {\n method2();\n}\n\nmethod1() {\n print('hi');\n method4();\n}\n\nmain() => method1();\n\n---from kernel------------------------------------------------------\nCompiling dart2js -o/b/s/w/ir/tmp/t/stacktrace-testCGNUSY/out.js --libraries-spec=sdk/lib/libraries.json --packages=file:///b/s/w/ir/cache/builder/sdk/.packages --test-mode /b/s/w/ir/tmp/t/stacktrace-testCGNUSY/input.dart\nCompiled 7,396,681 characters Dart to 44,199 characters JavaScript in 1.66 seconds\nDart file (/b/s/w/ir/tmp/t/stacktrace-testCGNUSY/input.dart) compiled to JavaScript: ../../../tmp/t/stacktrace-testCGNUSY/out.js\nRunning d8 /b/s/w/ir/tmp/t/stacktrace-testCGNUSY/out.js\nDeleting '/b/s/w/ir/tmp/t/stacktrace-testCGNUSY'.\n---from kernel with CFE constants-----------------------------------\nCompiling dart2js -o/b/s/w/ir/tmp/t/stacktrace-testYOKNYS/out.js --libraries-spec=sdk/lib/libraries.json --packages=file:///b/s/w/ir/cache/builder/sdk/.packages --test-mode /b/s/w/ir/tmp/t/stacktrace-testYOKNYS/input.dart --enable-experiment=constant-update-2018\nCompiled 4,385,025 characters Dart to 44,199 characters JavaScript in 6.09 seconds\nDart file (/b/s/w/ir/tmp/t/stacktrace-testYOKNYS/input.dart) compiled to JavaScript: ../../../tmp/t/stacktrace-testYOKNYS/out.js\nRunning d8 /b/s/w/ir/tmp/t/stacktrace-testYOKNYS/out.js\nDeleting '/b/s/w/ir/tmp/t/stacktrace-testYOKNYS'.\n----------------------------------------------------------------\nChecking file:///b/s/w/ir/cache/builder/sdk/tests/compiler/dart2js/sourcemaps/stacktrace/sync_throw_in_top_level_method_from_async.dart\n----------------------------------------------------------------\n// Copyright (c) 2018, the Dart project authors. Please see the AUTHORS file\n// for details. All rights reserved. Use of this source code is governed by a\n// BSD-style license that can be found in the LICENSE file.\n\nmain() {\n test1();\n}\n\n// TODO(34942): Step 2 should point to the body block.\n@pragma('dart2js:noInline')\ntest1 () async {\n test2();\n}\n\n@pragma('dart2js:noInline')\ntest2() {\n throw '>ExceptionMarker<';\n}\n\n---from kernel------------------------------------------------------\nCompiling dart2js -o/b/s/w/ir/tmp/t/stacktrace-testVUBDVG/out.js --libraries-spec=sdk/lib/libraries.json --packages=file:///b/s/w/ir/cache/builder/sdk/.packages --test-mode /b/s/w/ir/tmp/t/stacktrace-testVUBDVG/input.dart\nHint: When run on the command-line, the compiled output might require a preamble file located in:\n <sdk>/lib/_internal/js_runtime/lib/preambles.\nCompiled 7,396,687 characters Dart to 113,725 characters JavaScript in 3.06 seconds\nDart file (/b/s/w/ir/tmp/t/stacktrace-testVUBDVG/input.dart) compiled to JavaScript: ../../../tmp/t/stacktrace-testVUBDVG/out.js\nRunning d8 /b/s/w/ir/tmp/t/stacktrace-testVUBDVG/out.js\nDeleting '/b/s/w/ir/tmp/t/stacktrace-testVUBDVG'.\n---from kernel with CFE constants-----------------------------------\nCompiling dart2js -o/b/s/w/ir/tmp/t/stacktrace-testWRTDAC/out.js --libraries-spec=sdk/lib/libraries.json --packages=file:///b/s/w/ir/cache/builder/sdk/.packages --test-mode /b/s/w/ir/tmp/t/stacktrace-testWRTDAC/input.dart --enable-experiment=constant-update-2018\nHint: When run on the command-line, the compiled output might require a preamble file located in:\n <sdk>/lib/_internal/js_runtime/lib/preambles.\nCompiled 4,385,031 characters Dart to 113,233 characters JavaScript in 7.30 seconds\nDart file (/b/s/w/ir/tmp/t/stacktrace-testWRTDAC/input.dart) compiled to JavaScript: ../../../tmp/t/stacktrace-testWRTDAC/out.js\nRunning d8 /b/s/w/ir/tmp/t/stacktrace-testWRTDAC/out.js\nDeleting '/b/s/w/ir/tmp/t/stacktrace-testWRTDAC'.\n----------------------------------------------------------------\nChecking file:///b/s/w/ir/cache/builder/sdk/tests/compiler/dart2js/sourcemaps/stacktrace/throw_in_constructor_from_async.dart\n----------------------------------------------------------------\n// Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file\n// for details. All rights reserved. Use of this source code is governed by a\n// BSD-style license that can be found in the LICENSE file.\n\nmain() {\n // This call is no longer on the stack when the error is thrown.\n test();\n}\n\ntest() async {\n await null;\n // ignore: UNUSED_LOCAL_VARIABLE\n var c = new Class();\n}\n\nclass Class {\n @pragma('dart2js:noInline')\n Class() {\n throw '>ExceptionMarker<';\n }\n}\n\n---from kernel------------------------------------------------------\nCompiling dart2js -o/b/s/w/ir/tmp/t/stacktrace-testDDKZMP/out.js --libraries-spec=sdk/lib/libraries.json --packages=file:///b/s/w/ir/cache/builder/sdk/.packages --test-mode /b/s/w/ir/tmp/t/stacktrace-testDDKZMP/input.dart\nHint: When run on the command-line, the compiled output might require a preamble file located in:\n <sdk>/lib/_internal/js_runtime/lib/preambles.\nCompiled 7,396,753 characters Dart to 113,964 characters JavaScript in 2.74 seconds\nDart file (/b/s/w/ir/tmp/t/stacktrace-testDDKZMP/input.dart) compiled to JavaScript: ../../../tmp/t/stacktrace-testDDKZMP/out.js\nRunning d8 /b/s/w/ir/tmp/t/stacktrace-testDDKZMP/out.js\nDeleting '/b/s/w/ir/tmp/t/stacktrace-testDDKZMP'.\n---from kernel with CFE constants-----------------------------------\nCompiling dart2js -o/b/s/w/ir/tmp/t/stacktrace-testHBKYYO/out.js --libraries-spec=sdk/lib/libraries.json --packages=file:///b/s/w/ir/cache/builder/sdk/.packages --test-mode /b/s/w/ir/tmp/t/stacktrace-testHBKYYO/input.dart --enable-experiment=constant-update-2018\nHint: When run on the command-line, the compiled output might require a preamble file located in:\n <sdk>/lib/_internal/js_runtime/lib/preambles.\nCompiled 4,385,097 characters Dart to 113,472 characters JavaScript in 5.89 seconds\nDart file (/b/s/w/ir/tmp/t/stacktrace-testHBKYYO/input.dart) compiled to JavaScript: ../../../tmp/t/stacktrace-testHBKYYO/out.js\nRunning d8 /b/s/w/ir/tmp/t/stacktrace-testHBKYYO/out.js\nDeleting '/b/s/w/ir/tmp/t/stacktrace-testHBKYYO'.\n----------------------------------------------------------------\nChecking file:///b/s/w/ir/cache/builder/sdk/tests/compiler/dart2js/sourcemaps/stacktrace/throw_in_try_finally.dart\n----------------------------------------------------------------\n// Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file\n// for details. All rights reserved. Use of this source code is governed by a\n// BSD-style license that can be found in the LICENSE file.\n\nmain() {\n test();\n}\n\n@pragma('dart2js:noInline')\ntest() {\n try {\n throw '>ExceptionMarker<';\n } finally {}\n}\n\n---from kernel------------------------------------------------------\nCompiling dart2js -o/b/s/w/ir/tmp/t/stacktrace-testTTLAZS/out.js --libraries-spec=sdk/lib/libraries.json --packages=file:///b/s/w/ir/cache/builder/sdk/.packages --test-mode /b/s/w/ir/tmp/t/stacktrace-testTTLAZS/input.dart\nCompiled 7,396,596 characters Dart to 43,591 characters JavaScript in 1.68 seconds\nDart file (/b/s/w/ir/tmp/t/stacktrace-testTTLAZS/input.dart) compiled to JavaScript: ../../../tmp/t/stacktrace-testTTLAZS/out.js\nRunning d8 /b/s/w/ir/tmp/t/stacktrace-testTTLAZS/out.js\nDeleting '/b/s/w/ir/tmp/t/stacktrace-testTTLAZS'.\n---from kernel with CFE constants-----------------------------------\nCompiling dart2js -o/b/s/w/ir/tmp/t/stacktrace-testCAWTLM/out.js --libraries-spec=sdk/lib/libraries.json --packages=file:///b/s/w/ir/cache/builder/sdk/.packages --test-mode /b/s/w/ir/tmp/t/stacktrace-testCAWTLM/input.dart --enable-experiment=constant-update-2018\nCompiled 4,384,940 characters Dart to 43,591 characters JavaScript in 6.53 seconds\nDart file (/b/s/w/ir/tmp/t/stacktrace-testCAWTLM/input.dart) compiled to JavaScript: ../../../tmp/t/stacktrace-testCAWTLM/out.js\nRunning d8 /b/s/w/ir/tmp/t/stacktrace-testCAWTLM/out.js\nDeleting '/b/s/w/ir/tmp/t/stacktrace-testCAWTLM'.\n----------------------------------------------------------------\nChecking file:///b/s/w/ir/cache/builder/sdk/tests/compiler/dart2js/sourcemaps/stacktrace/null_instance_field.dart\n----------------------------------------------------------------\n// Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file\n// for details. All rights reserved. Use of this source code is governed by a\n// BSD-style license that can be found in the LICENSE file.\n\nmain() {\n test(new Class());\n}\n\n@pragma('dart2js:noInline')\ntest(c) {\n c. field.method();\n}\n\nclass Class {\n @pragma('dart2js:noElision')\n var field;\n}\n\n---from kernel------------------------------------------------------\nCompiling dart2js -o/b/s/w/ir/tmp/t/stacktrace-testIUGJCQ/out.js --libraries-spec=sdk/lib/libraries.json --packages=file:///b/s/w/ir/cache/builder/sdk/.packages --test-mode /b/s/w/ir/tmp/t/stacktrace-testIUGJCQ/input.dart\nCompiled 7,396,636 characters Dart to 11,693 characters JavaScript in 1.78 seconds\nDart file (/b/s/w/ir/tmp/t/stacktrace-testIUGJCQ/input.dart) compiled to JavaScript: ../../../tmp/t/stacktrace-testIUGJCQ/out.js\nRunning d8 /b/s/w/ir/tmp/t/stacktrace-testIUGJCQ/out.js\nDeleting '/b/s/w/ir/tmp/t/stacktrace-testIUGJCQ'.\n---from kernel with CFE constants-----------------------------------\nCompiling dart2js -o/b/s/w/ir/tmp/t/stacktrace-testSSNZJH/out.js --libraries-spec=sdk/lib/libraries.json --packages=file:///b/s/w/ir/cache/builder/sdk/.packages --test-mode /b/s/w/ir/tmp/t/stacktrace-testSSNZJH/input.dart --enable-experiment=constant-update-2018\n\n--- Re-run this test:\npython tools/test.py -n unittest-asserts-no-sdk-linux dart2js/sourcemaps/stacktrace_test\n"}