| OLD | NEW | 
|---|
| 1 // Copyright (c) 2015, the Fletch project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, the Fletch project authors. Please see the AUTHORS file | 
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a | 
| 3 // BSD-style license that can be found in the LICENSE.md file. | 3 // BSD-style license that can be found in the LICENSE.md file. | 
| 4 | 4 | 
| 5 library fletchc.constructor_codegen; | 5 library fletchc.constructor_codegen; | 
| 6 | 6 | 
| 7 import 'package:compiler/src/dart2jslib.dart' show |  | 
| 8     MessageKind, |  | 
| 9     Registry; |  | 
| 10 |  | 
| 11 import 'package:compiler/src/elements/elements.dart'; | 7 import 'package:compiler/src/elements/elements.dart'; | 
| 12 import 'package:compiler/src/resolution/resolution.dart'; | 8 import 'package:compiler/src/resolution/tree_elements.dart' show | 
|  | 9     TreeElements; | 
| 13 import 'package:compiler/src/tree/tree.dart'; | 10 import 'package:compiler/src/tree/tree.dart'; | 
| 14 import 'package:compiler/src/universe/universe.dart'; | 11 import 'package:compiler/src/universe/call_structure.dart' show | 
|  | 12     CallStructure; | 
| 15 import 'package:compiler/src/dart_types.dart'; | 13 import 'package:compiler/src/dart_types.dart'; | 
| 16 | 14 | 
| 17 import 'fletch_context.dart'; | 15 import 'fletch_context.dart'; | 
| 18 | 16 | 
| 19 import 'fletch_function_builder.dart' show | 17 import 'fletch_function_builder.dart' show | 
| 20     FletchFunctionBuilder; | 18     FletchFunctionBuilder; | 
| 21 | 19 | 
| 22 import 'fletch_class_builder.dart' show | 20 import 'fletch_class_builder.dart' show | 
| 23     FletchClassBuilder; | 21     FletchClassBuilder; | 
| 24 | 22 | 
| (...skipping 349 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 374             lazyFieldInitializerCodegenFor(functionBuilder, field); | 372             lazyFieldInitializerCodegenFor(functionBuilder, field); | 
| 375 | 373 | 
| 376         // We only want the value of the actual initializer, not the usual | 374         // We only want the value of the actual initializer, not the usual | 
| 377         // 'body'. | 375         // 'body'. | 
| 378         codegen.visitForValue(initializer); | 376         codegen.visitForValue(initializer); | 
| 379       } | 377       } | 
| 380     }); | 378     }); | 
| 381     assert(fieldIndex <= classBuilder.fields); | 379     assert(fieldIndex <= classBuilder.fields); | 
| 382   } | 380   } | 
| 383 } | 381 } | 
| OLD | NEW | 
|---|