| Index: compiler/javatests/com/google/dart/compiler/end2end/inc/myother1.dart
|
| diff --git a/compiler/javatests/com/google/dart/compiler/end2end/inc/myother1.dart b/compiler/javatests/com/google/dart/compiler/end2end/inc/myother1.dart
|
| index 98c9f1b688f54508181508660d8181d55f19e8dd..831dc039e00319957aa30a352a9f2e41c34d855b 100644
|
| --- a/compiler/javatests/com/google/dart/compiler/end2end/inc/myother1.dart
|
| +++ b/compiler/javatests/com/google/dart/compiler/end2end/inc/myother1.dart
|
| @@ -2,10 +2,16 @@
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
| +
|
| class Other1 {
|
| - // The existence of this final triggers b/5078969.
|
| - static final Function FN = () { return 42; };
|
|
|
| - Other1() { }
|
| + static Function FN;
|
| +
|
| + Other1() {
|
| +
|
| + if (FN == null) {
|
| + FN = () { return 42; };
|
| + }
|
| + }
|
| void newMethod() { }
|
| }
|
|
|