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

Unified Diff: pkg/front_end/testcases/rasta/issue_000080.dart.strong.expect

Issue 3004703002: Don't export unnamed mixins. (Closed)
Patch Set: Update transitive_mixins.dart.shaker Created 3 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 side-by-side diff with in-line comments
Download patch
Index: pkg/front_end/testcases/rasta/issue_000080.dart.strong.expect
diff --git a/pkg/front_end/testcases/rasta/issue_000080.dart.direct.expect b/pkg/front_end/testcases/rasta/issue_000080.dart.strong.expect
similarity index 70%
copy from pkg/front_end/testcases/rasta/issue_000080.dart.direct.expect
copy to pkg/front_end/testcases/rasta/issue_000080.dart.strong.expect
index 85e3e6af181fc4caad2c36c39c1fc0d0fba7eb4f..5005a6918a94df92775d682f1ce6498f83ad2238 100644
--- a/pkg/front_end/testcases/rasta/issue_000080.dart.direct.expect
+++ b/pkg/front_end/testcases/rasta/issue_000080.dart.strong.expect
@@ -10,9 +10,9 @@ class Mixin extends core::Object {
method foo() → dynamic
return 87;
}
-abstract class Object&Mixin = core::Object with self::Mixin {
+abstract class _Object&Mixin = core::Object with self::Mixin {
}
-class Foo extends self::Object&Mixin {
+class Foo extends self::_Object&Mixin {
default constructor •() → void
: super core::Object::•()
;
@@ -22,7 +22,7 @@ class Foo extends self::Object&Mixin {
return super.{self::Mixin::field};
}
static method main() → dynamic {
- dynamic f = new self::Foo::•();
- f.field = 42;
- core::print(f.bar());
+ self::Foo f = new self::Foo::•();
+ f.{self::Mixin::field} = 42;
+ core::print(f.{self::Foo::bar}());
}

Powered by Google App Engine
This is Rietveld 408576698