| OLD | NEW |
| 1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, the Dart 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 file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 library dart2js.analyze_helpers.test; | 5 library dart2js.analyze_helpers.test; |
| 6 | 6 |
| 7 import 'dart:io'; | 7 import 'dart:io'; |
| 8 | 8 |
| 9 import 'package:async_helper/async_helper.dart'; | 9 import 'package:async_helper/async_helper.dart'; |
| 10 import 'package:compiler/compiler_new.dart' show Diagnostic; | 10 import 'package:compiler/compiler_new.dart' show Diagnostic; |
| (...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 204 NodeList arguments, | 204 NodeList arguments, |
| 205 CallStructure callStructure, | 205 CallStructure callStructure, |
| 206 _) { | 206 _) { |
| 207 checkAccess(node, constructor); | 207 checkAccess(node, constructor); |
| 208 apply(arguments); | 208 apply(arguments); |
| 209 } | 209 } |
| 210 | 210 |
| 211 @override | 211 @override |
| 212 void visitConstConstructorInvoke( | 212 void visitConstConstructorInvoke( |
| 213 NewExpression node, ConstructedConstantExpression constant, _) { | 213 NewExpression node, ConstructedConstantExpression constant, _) { |
| 214 checkAccess(node, constant.target); | 214 ConstructorElement constructor = constant.target; |
| 215 checkAccess(node, constructor); |
| 215 } | 216 } |
| 216 } | 217 } |
| OLD | NEW |