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

Unified Diff: tests/language/private_super_constructor_lib.dart

Issue 1360153005: Normalize constructor lookup. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 years, 3 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
Index: tests/language/private_super_constructor_lib.dart
diff --git a/tests/compiler/dart2js/dart2js_batch2_run.dart b/tests/language/private_super_constructor_lib.dart
similarity index 75%
copy from tests/compiler/dart2js/dart2js_batch2_run.dart
copy to tests/language/private_super_constructor_lib.dart
index aee55ef18e5fa77c47bcbf53f5c16125299ed77a..8a34b6db29bbd2794d8c60eca91a8c935614c1f9 100644
--- a/tests/compiler/dart2js/dart2js_batch2_run.dart
+++ b/tests/language/private_super_constructor_lib.dart
@@ -2,9 +2,9 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-@notExisting
-var x;
+library private_super_constructor_lib;
-main() {
- print(x);
-}
+class B {
+ B();
+ B._foo();
+}
« no previous file with comments | « pkg/compiler/lib/src/resolution/constructors.dart ('k') | tests/language/private_super_constructor_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698