| OLD | NEW |
| 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2011, 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 package com.google.dart.compiler; | 5 package com.google.dart.compiler; |
| 6 | 6 |
| 7 /** | 7 /** |
| 8 * Valid error codes for the errors produced by the Dart compiler. | 8 * Valid error codes for the errors produced by the Dart compiler. |
| 9 */ | 9 */ |
| 10 public enum DartCompilerErrorCode implements ErrorCode { | 10 public enum DartCompilerErrorCode implements ErrorCode { |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 43 | 43 |
| 44 @Override | 44 @Override |
| 45 public ErrorSeverity getErrorSeverity() { | 45 public ErrorSeverity getErrorSeverity() { |
| 46 return severity; | 46 return severity; |
| 47 } | 47 } |
| 48 | 48 |
| 49 @Override | 49 @Override |
| 50 public SubSystem getSubSystem() { | 50 public SubSystem getSubSystem() { |
| 51 return SubSystem.COMPILER; | 51 return SubSystem.COMPILER; |
| 52 } | 52 } |
| 53 |
| 54 @Override |
| 55 public boolean needsRecompilation() { |
| 56 return true; |
| 57 } |
| 53 } | 58 } |
| OLD | NEW |