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

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

Issue 2953503002: Only set types of conditional expressions in strong mode. (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/bad_explicit_super_constructor.dart.direct.expect
diff --git a/pkg/front_end/testcases/rasta/bad_explicit_super_constructor.dart.direct.expect b/pkg/front_end/testcases/rasta/bad_explicit_super_constructor.dart.direct.expect
index 9f269d1c02178f9d738862416f739fcc4282942d..a0d831109bfb91494aa71cf32d189b835de2001d 100644
--- a/pkg/front_end/testcases/rasta/bad_explicit_super_constructor.dart.direct.expect
+++ b/pkg/front_end/testcases/rasta/bad_explicit_super_constructor.dart.direct.expect
@@ -9,7 +9,7 @@ class A extends core::Object {
}
class B extends self::A {
const constructor •() → void
- : final dynamic #t1 = const core::_ConstantExpressionError::•()._throw(new core::_CompileTimeError::•("pkg/front_end/testcases/rasta/bad_explicit_super_constructor.dart:10:15: Error: Method not found: 'super.'.\n const B() : super();\n ^"))
+ : invalid-initializer
;
}
static method main() → dynamic {

Powered by Google App Engine
This is Rietveld 408576698