OLD | NEW |
1 // Copyright (c) 2016, the Fletch project authors. Please see the AUTHORS file | 1 // Copyright (c) 2016, the Dartino 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.fletch_diagnostic_reporter; | 5 library fletchc.fletch_diagnostic_reporter; |
6 | 6 |
7 import 'package:compiler/src/tokens/token.dart' show | 7 import 'package:compiler/src/tokens/token.dart' show |
8 Token; | 8 Token; |
9 | 9 |
10 import 'package:compiler/src/compiler.dart' show | 10 import 'package:compiler/src/compiler.dart' show |
11 CompilerDiagnosticReporter; | 11 CompilerDiagnosticReporter; |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
74 crashReportRequested = true; | 74 crashReportRequested = true; |
75 print(requestBugReportOnCompilerCrashMessage); | 75 print(requestBugReportOnCompilerCrashMessage); |
76 } | 76 } |
77 | 77 |
78 static FletchDiagnosticReporter createInstance( | 78 static FletchDiagnosticReporter createInstance( |
79 FletchCompilerImplementation compiler, | 79 FletchCompilerImplementation compiler, |
80 DiagnosticOptions options) { | 80 DiagnosticOptions options) { |
81 return new FletchDiagnosticReporter(compiler, options); | 81 return new FletchDiagnosticReporter(compiler, options); |
82 } | 82 } |
83 } | 83 } |
OLD | NEW |