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

Unified Diff: pkg/front_end/test/fasta/rasta/enum.dart.outline.expect

Issue 2662703002: Update rasta outline expectations. (Closed)
Patch Set: Rebased on 0401b897958de33f8481b9cb323eab53106a3ce9. Created 3 years, 11 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/test/fasta/rasta/enum.dart.outline.expect
diff --git a/pkg/front_end/test/fasta/rasta/enum.dart.outline.expect b/pkg/front_end/test/fasta/rasta/enum.dart.outline.expect
index 6f517ea32312d812acd4974e36f6929d695fe9e2..b434f604ff2e257d8056b1cc9e68b09fbebcb546 100644
--- a/pkg/front_end/test/fasta/rasta/enum.dart.outline.expect
+++ b/pkg/front_end/test/fasta/rasta/enum.dart.outline.expect
@@ -3,13 +3,15 @@ import self as self;
import "dart:core" as core;
class Foo extends core::Object {
- final field dynamic index;
- static const field dynamic ec1 = const self::Foo::•(0);
- static const field dynamic ec2 = const self::Foo::•(1);
- static const field dynamic values = const <dynamic>[self::Foo::ec1, self::Foo::ec2];
+ final field core::int index;
+ static const field core::List<self::Foo> values = const <self::Foo>[self::Foo::ec1, self::Foo::ec2];
+ static const field self::Foo ec1 = const self::Foo::•(0);
+ static const field self::Foo ec2 = const self::Foo::•(1);
const constructor •(core::int index) → void
- : self::Foo::index = index, super core::Object::•()
+ : self::Foo::index = index
+ ;
+ constructor •() → void
;
method toString() → core::String
- return const <dynamic, dynamic>{0: "Foo.ec1", 1: "Foo.ec2"}.[](this.index);
+ return const <core::int, core::String>{0: "Foo.ec1", 1: "Foo.ec2"}.[](this.{=self::Foo::index});
}

Powered by Google App Engine
This is Rietveld 408576698