Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(232)

Unified Diff: tests/compiler/dart2js/simple_inferrer_test.dart

Issue 1149403009: Refactoring resolution of local access and unqualified access of statics (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Fix after rebase Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tests/compiler/dart2js/semantic_visitor_test_send_visitor.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/simple_inferrer_test.dart
diff --git a/tests/compiler/dart2js/simple_inferrer_test.dart b/tests/compiler/dart2js/simple_inferrer_test.dart
index 33fb4fadf6e2cd58475be3b8b3c7b751b51d8d7a..5999741882aea3bd0a74143a936cb8f598fc93b5 100644
--- a/tests/compiler/dart2js/simple_inferrer_test.dart
+++ b/tests/compiler/dart2js/simple_inferrer_test.dart
@@ -618,7 +618,7 @@ main() {
returnNum1(true);
returnNum2(true);
returnInt1(true);
- returnInt2(true);
+ returnInt2();
returnInt3(true);
returnInt4();
returnDouble(true);
@@ -667,7 +667,7 @@ main() {
returnAsTypedef();
returnTopLevelGetter();
testDeadCode();
- testLabeledIf();
+ testLabeledIf(true);
testSwitch1();
testSwitch2();
testSwitch3();
@@ -727,6 +727,7 @@ main() {
void main() {
Uri uri = new Uri(scheme: 'source');
var compiler = compilerFor(TEST, uri);
+ compiler.diagnosticHandler = createHandler(compiler, TEST);
asyncTest(() => compiler.runCompiler(uri).then((_) {
var typesTask = compiler.typesTask;
var typesInferrer = typesTask.typesInferrer;
« no previous file with comments | « tests/compiler/dart2js/semantic_visitor_test_send_visitor.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698