Chromium Code Reviews| Index: lib/compiler/implementation/warnings.dart |
| diff --git a/lib/compiler/implementation/warnings.dart b/lib/compiler/implementation/warnings.dart |
| index 3c0ec5300aa8bd1231f8a0cefca979b9b3e21b78..99462566c1f9d46f21c6e810f3601a59b946d32e 100644 |
| --- a/lib/compiler/implementation/warnings.dart |
| +++ b/lib/compiler/implementation/warnings.dart |
| @@ -261,6 +261,18 @@ Invalid offset (#{1}) in source map. |
| File: #{2} |
| Length: #{3}'''); |
| + static const PATCH_RETURN_TYPE_MISMATCH = const MessageKind( |
| + "Patch return type #{3} doesn't match #{2} on origin method #{1}."); |
| + |
| + static const PATCH_REQUIRED_PARAMETER_COUNT_MISMATCH = const MessageKind( |
| + "Required parameter count of patch method (#{3}) on origin method #{1}."); |
|
Lasse Reichstein Nielsen
2012/10/04 07:51:21
Message doesn't say what the problem is.
Seems od
Johnni Winther
2012/10/04 10:23:29
Done.
|
| + |
| + static const PATCH_OPTIONAL_PARAMETER_COUNT_MISMATCH = const MessageKind( |
| + "Optional parameter count of patch method (#{3}) on origin method #{1}."); |
|
Lasse Reichstein Nielsen
2012/10/04 07:51:21
Doesn't say what the problem is. I need to know wh
Johnni Winther
2012/10/04 10:23:29
Done.
|
| + |
| + static const PATCH_PARAMETER_MISMATCH = const MessageKind( |
| + "Patch parameter '#{3}' doesn't match '#{2}' on origin method #{1}."); |
| + |
| static const COMPILER_CRASHED = const MessageKind( |
| "Error: The compiler crashed when compiling this element."); |