Index: tests/language_strong/deferred_constraints_constants_test.dart |
diff --git a/tests/language_strong/deferred_constraints_constants_test.dart b/tests/language_strong/deferred_constraints_constants_test.dart |
index b7e2244b8dea693a66eb246a5a3271280fbe3456..a45ed15034d253abc1ed4f41e909ea6600d0de66 100644 |
--- a/tests/language_strong/deferred_constraints_constants_test.dart |
+++ b/tests/language_strong/deferred_constraints_constants_test.dart |
@@ -9,35 +9,35 @@ import 'dart:mirrors'; |
import "deferred_constraints_constants_lib.dart" deferred as lib; |
const myConst1 = |
- lib.constantInstance; /// reference1: compile-time error |
- /* // /// reference1: continued |
+ lib.constantInstance; //# reference1: compile-time error |
+ /* // //# reference1: continued |
499; |
- */ // /// reference1: continued |
+ */ // //# reference1: continued |
const myConst2 = |
- lib.Const.instance; /// reference2: compile-time error |
- /* // /// reference2: continued |
+ lib.Const.instance; //# reference2: compile-time error |
+ /* // //# reference2: continued |
499; |
- */ // /// reference2: continued |
+ */ // //# reference2: continued |
void f1({a: |
- const lib.Const() /// default_argument1: compile-time error |
- /* // /// default_argument1: continued |
+ const lib.Const() //# default_argument1: compile-time error |
+ /* // //# default_argument1: continued |
499 |
- */ // /// default_argument1: continued |
+ */ // //# default_argument1: continued |
}) {} |
void f2({a: |
- lib.constantInstance /// default_argument2: compile-time error |
- /* // /// default_argument2: continued |
+ lib.constantInstance //# default_argument2: compile-time error |
+ /* // //# default_argument2: continued |
499 |
- */ // /// default_argument2: continued |
+ */ // //# default_argument2: continued |
}) {} |
-@lib.Const() /// metadata1: compile-time error |
+@lib.Const() //# metadata1: compile-time error |
class H1 {} |
-@lib.Const.instance /// metadata2: compile-time error |
+@lib.Const.instance //# metadata2: compile-time error |
class H2 {} |
-@lib.Const.namedConstructor() /// metadata3: compile-time error |
+@lib.Const.namedConstructor() //# metadata3: compile-time error |
class H3 {} |
void main() { |
@@ -47,11 +47,11 @@ void main() { |
asyncStart(); |
lib.loadLibrary().then((_) { |
var instance = lib.constantInstance; |
- var c1 = const lib.Const(); /// constructor1: compile-time error |
- var c2 = const lib.Const.namedConstructor(); /// constructor2: compile-time error |
+ var c1 = const lib.Const(); //# constructor1: compile-time error |
+ var c2 = const lib.Const.namedConstructor(); //# constructor2: compile-time error |
f1(); |
f2(); |
- var constInstance = lib.constantInstance; /// reference_after_load: ok |
+ var constInstance = lib.constantInstance; //# reference_after_load: ok |
var h1 = new H1(); |
var h2 = new H2(); |
var h3 = new H3(); |