| Index: tests/language/ref_before_declaration_test.dart
|
| diff --git a/tests/language/ref_before_declaration_test.dart b/tests/language/ref_before_declaration_test.dart
|
| index 3eb718c80b8312fbca8de07e1530160a3cf5f40e..a8faf054421475bf3995aa1b9c64489414f4ad35 100644
|
| --- a/tests/language/ref_before_declaration_test.dart
|
| +++ b/tests/language/ref_before_declaration_test.dart
|
| @@ -43,11 +43,11 @@ class C {
|
|
|
| void test4() {
|
| void Q() {
|
| - P(); // Refers to non-existing top-level function P
|
| + P(); //# 06: compile-time error
|
| + }
|
| + void P() {
|
| + Q();
|
| }
|
| - void P() { // //# 06: compile-time error
|
| - Q(); // //# 06: continued
|
| - } // //# 06: continued
|
|
|
| Function f = () {x = f;}; // //# 07: compile-time error
|
| }
|
|
|