Chromium Code Reviews| Index: pkg/compiler/lib/compiler_new.dart |
| diff --git a/pkg/compiler/lib/compiler_new.dart b/pkg/compiler/lib/compiler_new.dart |
| index 3ec05ec39b2df18f6ccb419905ccd4f5c695624f..a5152d80393250060c6dfcebf75abb934d84b059 100644 |
| --- a/pkg/compiler/lib/compiler_new.dart |
| +++ b/pkg/compiler/lib/compiler_new.dart |
| @@ -67,7 +67,12 @@ abstract class CompilerDiagnostics { |
| /// zero-based character offsets from the beginning of the compilation unit. |
| /// [message] is the diagnostic message, and [kind] indicates indicates what |
| /// kind of diagnostic it is. |
| - void report(Uri uri, int begin, int end, String message, Diagnostic kind); |
| + /// |
| + /// Experimental: [code] is gives access to an id for the messages. Currently |
|
karlklose
2015/07/21 11:25:31
'[code] gives' (remove 'is').
Johnni Winther
2015/07/21 13:51:58
Done.
|
| + /// it is the [Message] used to create the diagnostic, if available, from |
| + /// which the [MessageKind] is accessible. |
| + void report(var code, |
| + Uri uri, int begin, int end, String text, Diagnostic kind); |
| } |
| /// Information resulting from the compilation. |