| 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; |
| 11 import 'package:compiler/src/apiimpl.dart' show CompilerImpl; | 11 import 'package:compiler/src/apiimpl.dart' show CompilerImpl; |
| 12 import 'package:compiler/src/commandline_options.dart'; | 12 import 'package:compiler/src/commandline_options.dart'; |
| 13 import 'package:compiler/src/constants/expressions.dart' | 13 import 'package:compiler/src/constants/expressions.dart' |
| 14 show ConstructedConstantExpression; | 14 show ConstructedConstantExpression; |
| 15 import 'package:compiler/src/dart_types.dart' show InterfaceType; | 15 import 'package:compiler/src/elements/resolution_types.dart' show InterfaceType; |
| 16 import 'package:compiler/src/diagnostics/source_span.dart' show SourceSpan; | 16 import 'package:compiler/src/diagnostics/source_span.dart' show SourceSpan; |
| 17 import 'package:compiler/src/elements/elements.dart'; | 17 import 'package:compiler/src/elements/elements.dart'; |
| 18 import 'package:compiler/src/filenames.dart' show nativeToUriPath; | 18 import 'package:compiler/src/filenames.dart' show nativeToUriPath; |
| 19 import 'package:compiler/src/resolution/semantic_visitor.dart'; | 19 import 'package:compiler/src/resolution/semantic_visitor.dart'; |
| 20 import 'package:compiler/src/resolution/tree_elements.dart' show TreeElements; | 20 import 'package:compiler/src/resolution/tree_elements.dart' show TreeElements; |
| 21 import 'package:compiler/src/source_file_provider.dart' | 21 import 'package:compiler/src/source_file_provider.dart' |
| 22 show FormattingDiagnosticHandler; | 22 show FormattingDiagnosticHandler; |
| 23 import 'package:compiler/src/tree/tree.dart'; | 23 import 'package:compiler/src/tree/tree.dart'; |
| 24 import 'package:compiler/src/universe/call_structure.dart' show CallStructure; | 24 import 'package:compiler/src/universe/call_structure.dart' show CallStructure; |
| 25 import 'package:expect/expect.dart'; | 25 import 'package:expect/expect.dart'; |
| (...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 206 checkAccess(node, constructor); | 206 checkAccess(node, constructor); |
| 207 apply(arguments); | 207 apply(arguments); |
| 208 } | 208 } |
| 209 | 209 |
| 210 @override | 210 @override |
| 211 void visitConstConstructorInvoke( | 211 void visitConstConstructorInvoke( |
| 212 NewExpression node, ConstructedConstantExpression constant, _) { | 212 NewExpression node, ConstructedConstantExpression constant, _) { |
| 213 checkAccess(node, constant.target); | 213 checkAccess(node, constant.target); |
| 214 } | 214 } |
| 215 } | 215 } |
| OLD | NEW |