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

Unified 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: Rebased on CL 2201763003. Created 4 years, 5 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/kernel/regression/mixin_library.dart
diff --git a/test/kernel/regression/mixin_library.dart b/test/kernel/regression/mixin_library.dart
index 1789b975c258271148f8b06befddf8c9bf0ea43c..43608356061f332ea5d3b80a2f65f8c6282791a1 100644
--- a/test/kernel/regression/mixin_library.dart
+++ b/test/kernel/regression/mixin_library.dart
@@ -17,4 +17,8 @@ class Mixin<T> {
T g(T a) => null;
h() => V();
l() => _private();
+ _privateMethod() => 49;
+ publicMethod() => _privateMethod();
}
+
+foo(m) => m._privateMethod();

Powered by Google App Engine
This is Rietveld 408576698