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

Unified Diff: pkg/front_end/testcases/rasta/native_is_illegal.dart.direct.expect

Issue 2949753002: Print static types of conditional expressions. (Closed)
Patch Set: Created 3 years, 6 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/native_is_illegal.dart.direct.expect
diff --git a/pkg/front_end/testcases/rasta/native_is_illegal.dart.direct.expect b/pkg/front_end/testcases/rasta/native_is_illegal.dart.direct.expect
index 36cec9b05d3bf5f9ce7639dff4ff1f2ea29ed433..a037ff3a5429675b477091c55b0ffbccb9797c61 100644
--- a/pkg/front_end/testcases/rasta/native_is_illegal.dart.direct.expect
+++ b/pkg/front_end/testcases/rasta/native_is_illegal.dart.direct.expect
@@ -1,16 +1,17 @@
library;
import self as self;
import "dart:core" as core;
+import "dart:_internal" as _in;
class Bar extends core::Object {
- get x() → self::Bar
- return "Bar_get_x";
- set x(self::Bar value) → dynamic
- return "Bar_set_x";
- method f() → dynamic
- return "Bar_f";
- static factory •() → self::Bar
- return "Bar_constructor";
+ @_in::ExternalName::•("Bar_get_x")
+ external get x() → self::Bar;
+ @_in::ExternalName::•("Bar_set_x")
+ external set x(self::Bar value) → dynamic;
+ @_in::ExternalName::•("Bar_f")
+ external method f() → dynamic;
+ @_in::ExternalName::•("Bar_constructor")
+ external static factory •() → self::Bar;
}
-static method foo() → dynamic
- invalid-statement;
+@_in::ExternalName::•("foo")
+external static method foo() → dynamic;

Powered by Google App Engine
This is Rietveld 408576698