The Dart SDK, including the VM, JS and Wasm compilers, analysis, core libraries, and more.
BSD 3-Clause "New" or "Revised" License
10.23k
stars
1.57k
forks
source link
Test failing on x64 with --optimzation-counter-threshold=5 #22104
Closed
fsc8000 closed 9 years ago
repro:
out/ReleaseX64/dart --optimization-counter-threshold=5 --ignore-unrecognized-flags --package-root=out/ReleaseX64/packages/ /media/SSD/dart3/dart/pkg/analysis_server/test/analysis/get_hover_test.dart
stdout:
PASS: AnalysisHoverTest | dartdoc_clunky PASS: AnalysisHoverTest | dartdoc_elegant PASS: AnalysisHoverTest | expression_function PASS: AnalysisHoverTest | expression_literal_noElement PASS: AnalysisHoverTest | expression_method PASS: AnalysisHoverTest | expression_method_invocation PASS: AnalysisHoverTest | expression_syntheticGetter PASS: AnalysisHoverTest | expression_variable_hasPropagatedType PASS: AnalysisHoverTest | instanceCreation_implicit ERROR: AnalysisHoverTest | instanceCreation_implicit_withTypeArgument Test failed: Caught The null object does not have a getter 'offset'. NoSuchMethodError: method not found: 'offset' Receiver: null Arguments: [] dart:core-patch/object_patch.dart 45 Object.noSuchMethod pkg/analysis_server/test/analysis/get_hover_test.dart 252:20 AnalysisHoverTest.test_instanceCreation_implicit_withTypeArgument.<fn> dart:async/zone.dart 902 _rootRunUnary dart:async/zone.dart 804 _CustomZone.runUnary dart:async/future_impl.dart 484 _Future._propagateToListeners.handleValueCallback dart:async/future_impl.dart 567 _Future._propagateToListeners dart:async/future_impl.dart 358 _Future._completeWithValue dart:async/future_impl.dart 412 _Future._asyncComplete.<fn> dart:async/zone.dart 895 _rootRun dart:async/zone.dart 796 _CustomZone.run dart:async/zone.dart 704 _CustomZone.runGuarded dart:async/zone.dart 729 _CustomZone.bindCallback.<fn> dart:async/schedule_microtask.dart 41 _asyncRunCallbackLoop dart:async/schedule_microtask.dart 48 _asyncRunCallback dart:isolate-patch/isolate_patch.dart 95 _runPendingImmediateCallback dart:isolate-patch/isolate_patch.dart 142 _RawReceivePortImpl._handleMessage PASS: AnalysisHoverTest | instanceCreation_named PASS: AnalysisHoverTest | noHoverInfo
11 PASSED, 0 FAILED, 1 ERRORS Unhandled exception: Exception: Some tests failed.
0 SimpleConfiguration.onDone (package:unittest/src/simple_configuration.dart:189:9)
1 _completeTests (package:unittest/unittest.dart:510:17)
2 _runTest (package:unittest/unittest.dart:458:19)
3 _nextTestCase (package:unittest/unittest.dart:396:11)
4 _asyncRunCallbackLoop (dart:async/schedule_microtask.dart:41)
5 _asyncRunCallback (dart:async/schedule_microtask.dart:48)
6 _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:95)
7 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:142)