Index: tests/lib/mirrors/metadata_nested_constructor_call_test.dart |
diff --git a/tests/lib/mirrors/metadata_nested_constructor_call_test.dart b/tests/lib/mirrors/metadata_nested_constructor_call_test.dart |
index 0d772288eeb074957fc054b9f2c1a6e3215f94fb..254c55c861eb3b06c7bc7c6455b43d02f39d4ade 100644 |
--- a/tests/lib/mirrors/metadata_nested_constructor_call_test.dart |
+++ b/tests/lib/mirrors/metadata_nested_constructor_call_test.dart |
@@ -16,7 +16,7 @@ class Box { |
class MutableBox { |
var contents; |
- MutableBox([this.contents]); // Not const. |
+ MutableBox([this.contents]); // Not const. |
} |
@Box() |
@@ -47,6 +47,7 @@ class H {} |
class I {} |
final closure = () => 42; |
+ |
@Box(closure()) // //# 07: compile-time error |
class J {} |
@@ -54,6 +55,7 @@ class J {} |
class K {} |
function() => 42; |
+ |
@Box(function()) // //# 09: compile-time error |
class L {} |