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

Unified Diff: tests/language/regress_25609_test.dart

Issue 1647653007: Resolve signature from correct scope class (fix #25609). (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: wip Created 4 years, 11 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/language/regress_25609_lib2.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/regress_25609_test.dart
diff --git a/tests/language/export_not_shadowed_by_prefix_helper2.dart b/tests/language/regress_25609_test.dart
similarity index 67%
copy from tests/language/export_not_shadowed_by_prefix_helper2.dart
copy to tests/language/regress_25609_test.dart
index ae2dca5fcf0a4842b29e20d7652b35b6bfd65cfc..579f1c2b34d925c5e6ee74dd1fce9458997bc035 100644
--- a/tests/language/export_not_shadowed_by_prefix_helper2.dart
+++ b/tests/language/regress_25609_test.dart
@@ -2,8 +2,12 @@
// 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.
-void f() {
- f_called = true;
-}
+// VMOptions=--error-on-bad-type
+
+import 'regress_25609_lib1.dart';
-bool f_called = false;
+Foo baz() => null;
+
+main () {
+ baz();
+}
« no previous file with comments | « tests/language/regress_25609_lib2.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698