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

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

Issue 2976283002: Update expectations. (Closed)
Patch Set: Update compile.status. Created 3 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: pkg/front_end/testcases/rasta/issue_000044.dart.direct.expect
diff --git a/pkg/front_end/testcases/rasta/issue_000044.dart.direct.expect b/pkg/front_end/testcases/rasta/issue_000044.dart.direct.expect
index ed6b4f7eaab4a313d2cddfce1252bdbf04e8f9e1..d74a299208bc1b3333a0736e7a4ac6f471ea80d8 100644
--- a/pkg/front_end/testcases/rasta/issue_000044.dart.direct.expect
+++ b/pkg/front_end/testcases/rasta/issue_000044.dart.direct.expect
@@ -3,23 +3,24 @@ import self as self;
import "dart:core" as core;
class C extends core::Object {
- const constructor constant() → dynamic
+ static field dynamic _redirecting# = <dynamic>[self::C::good];
+ const constructor constant() → void
: super core::Object::•()
;
- constructor missingFactoryKeyword() → dynamic
+ constructor missingFactoryKeyword() → void
: super core::Object::•()
- invalid-statement;
+ const core::_ConstantExpressionError::•()._throw(new core::_CompileTimeError::•("pkg/front_end/testcases/rasta/issue_000044.dart:14:31: Error: Can't return from a constructor.\n C.missingFactoryKeyword() = C.constant;\n ^"));
static factory good() → self::C
- invalid-statement;
+ let dynamic #redirecting_factory = self::C::constant in invalid-expression;
method notEvenAConstructor(dynamic a) → self::C
invalid-statement;
}
-static method b() → dynamic
- invalid-statement;
+static method b(dynamic c) → invalid-type
+ return throw new core::NoSuchMethodError::_withType(null, #d, 33, <dynamic>[].toList(growable: false), <dynamic, dynamic>{}, null);
static method main() → dynamic {
self::C c = null;
core::print(const self::C::constant());
- core::print(invalid-expression);
+ core::print(const core::_ConstantExpressionError::•()._throw(new core::_CompileTimeError::•("pkg/front_end/testcases/rasta/issue_000044.dart:27:15: Error: Not a const constructor.\n print(const C.missingFactoryKeyword());\n ^")));
core::print(const self::C::constant());
core::print(new self::C::constant().notEvenAConstructor(null));
}

Powered by Google App Engine
This is Rietveld 408576698