diff --git a/sdk/lib/_internal/compiler/implementation/compiler.dart b/sdk/lib/_internal/compiler/implementation/compiler.dart index 387a6ab4afc..664aee520ae 100644 --- a/sdk/lib/_internal/compiler/implementation/compiler.dart +++ b/sdk/lib/_internal/compiler/implementation/compiler.dart @@ -629,7 +629,7 @@ abstract class Compiler implements DiagnosticListener { if (libraryName == 'dart:isolate' || libraryName == 'dart:html' // TODO(floitsch): create a separate async-helper library instead of - // importing the isolate-library just for async. + // importing the isolate-library just for TimerImpl. || libraryName == 'dart:async') { importIsolateHelperLibrary(library); } diff --git a/tests/compiler/dart2js/pretty_parameter_test.dart b/tests/compiler/dart2js/pretty_parameter_test.dart index 6831370643b..6bd0bddcde0 100644 --- a/tests/compiler/dart2js/pretty_parameter_test.dart +++ b/tests/compiler/dart2js/pretty_parameter_test.dart @@ -101,7 +101,7 @@ main() { regexp = new RegExp(r"a = 2;"); Iterator matches = regexp.allMatches(generated).iterator; Expect.isTrue(matches.moveNext()); - Expect.isFalse(matches.moveNext); + Expect.isFalse(matches.moveNext()); generated = compile(PARAMETER_INIT, entry: 'foo'); regexp = new RegExp("var result = start;"); diff --git a/tests/language/double_to_string_as_exponential2_test.dart b/tests/language/double_to_string_as_exponential2_test.dart index d9fa1a1abd4..9c085a463b4 100644 --- a/tests/language/double_to_string_as_exponential2_test.dart +++ b/tests/language/double_to_string_as_exponential2_test.dart @@ -4,7 +4,6 @@ // Test basic integer operations. main() { - // TODO(floitsch): verify that returned exception is correct type. Expect.throws(() => (1.0).toStringAsExponential(-1), (e) => e is RangeError); Expect.throws(() => (1.0).toStringAsExponential(21),