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

Unified Diff: tests/co19/co19-dart2js.status

Issue 23583035: Emit a compile-time error when returning a value from a constructor. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Include howToFix and example in error message. Created 7 years, 3 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: tests/co19/co19-dart2js.status
diff --git a/tests/co19/co19-dart2js.status b/tests/co19/co19-dart2js.status
index 31c04173f7f00fd41e018b27956cc1ce68cec162..3a5d851b4c7d3e4e0e67d564aec012ff65fe17cf 100644
--- a/tests/co19/co19-dart2js.status
+++ b/tests/co19/co19-dart2js.status
@@ -315,9 +315,6 @@ Language/13_Statements/03_Variable_Declaration_A04_t05: Fail # Checks that a var
Language/13_Statements/03_Variable_Declaration_A04_t06: Fail # Checks that a variable declaration statement final T e = e; causes a compile-time error.
Language/13_Statements/03_Variable_Declaration_A04_t07: Fail # Checks that a variable declaration statement var e = e; causes a compile-time error. A top-level variable with the same name is declared.
Language/13_Statements/03_Variable_Declaration_A04_t08: Fail # Checks that it is a compile-time error if the initializing expression of a local variable v refers to the name v= even when a top-level variable with the same name is declared.
-Language/13_Statements/11_Return_A05_t01: Fail # Checks that a compile-time error occurs if a return statement of the form return e; appears in a generative constructor.
-Language/13_Statements/11_Return_A05_t02: Fail # Checks that a compile-time error occurs if a return statement of the form return e; appears in a named generative constructor.
-Language/13_Statements/11_Return_A05_t03: Fail # Checks that a compile-time error occurs if a return statement of the form return e; appears in a generative constructor.
Language/14_Libraries_and_Scripts/5_URIs_A01_t24: Fail # Checks that it is a compile-time error when the URI in a part directive consists of two adjacent string literals instead of one.
Language/14_Libraries_and_Scripts/5_URIs_A01_t25: Fail # Checks that it is a compile-time error when the URI in a part directive consists of two adjacent multi-line string literals instead of one.
Language/15_Types/3_Type_Declarations/1_Typedef_A06_t01: Fail # Checks that a compile error is produced when a null default value is specified for a required argument in a function type alias.

Powered by Google App Engine
This is Rietveld 408576698