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

Side by Side Diff: test/kernel/regression/mixin_library.dart

Issue 2116793002: Work around for private names in mixin applications. (Closed) Base URL: git@github.com:dart-lang/rasta.git@master
Patch Set: Update test expectations. Created 4 years, 4 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) 2016, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2016, 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.md file. 3 // BSD-style license that can be found in the LICENSE.md file.
4 4
5 library test.mixin_library; 5 library test.mixin_library;
6 6
7 f() => 2; 7 f() => 2;
8 8
9 V() => 87; 9 V() => 87;
10 10
11 _private() => 117; 11 _private() => 117;
12 12
13 class Mixin<T> { 13 class Mixin<T> {
14 var x = f(), y, z; 14 var x = f(), y, z;
15 T t; 15 T t;
16 foo() => super.foo() + f(); 16 foo() => super.foo() + f();
17 T g(T a) => null; 17 T g(T a) => null;
18 h() => V(); 18 h() => V();
19 l() => _private(); 19 l() => _private();
20 _privateMethod() => 49;
21 publicMethod() => _privateMethod();
20 } 22 }
23
24 foo(m) => m._privateMethod();
OLDNEW
« no previous file with comments | « test/kernel/regression/issue_000081.dart.txt ('k') | test/kernel/regression/mixin_library.dart.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698