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

Unified Diff: test/codegen/names.dart

Issue 1030063004: more care around generated names, fixes #60 #82 and #97 (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 5 years, 9 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: test/codegen/names.dart
diff --git a/test/codegen/dir/html_input_a.dart b/test/codegen/names.dart
similarity index 64%
copy from test/codegen/dir/html_input_a.dart
copy to test/codegen/names.dart
index e38a5d76c063c1fe2593ec2cddd044c79f081c5a..127655eb24291536a36c4f8b3e1a726aef7a6873 100644
--- a/test/codegen/dir/html_input_a.dart
+++ b/test/codegen/names.dart
@@ -2,10 +2,16 @@
// 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.
-import 'html_input_b.dart';
-import 'html_input_c.dart';
+var exports = 42;
+
+class Foo {
+ _foo() => 123;
+}
+
+_foo() => 456;
main() {
- print('fib(${x} + ${y}) = ');
- print(' ... ${fib(x + y)}');
+ print(exports);
+ print(new Foo()._foo());
+ print(_foo());
}

Powered by Google App Engine
This is Rietveld 408576698