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

Side by Side 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 import 'html_input_b.dart'; 5 var exports = 42;
6 import 'html_input_c.dart'; 6
7 class Foo {
8 _foo() => 123;
9 }
10
11 _foo() => 456;
7 12
8 main() { 13 main() {
9 print('fib(${x} + ${y}) = '); 14 print(exports);
10 print(' ... ${fib(x + y)}'); 15 print(new Foo()._foo());
16 print(_foo());
11 } 17 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698