Index: runtime/lib/convert_patch.dart |
diff --git a/runtime/lib/convert_patch.dart b/runtime/lib/convert_patch.dart |
index d4acc18a55dae6fd2575946215a18f1f4ad6ca23..6bf0a2c4a6835538f8d5453fa67566aa2b1847ca 100644 |
--- a/runtime/lib/convert_patch.dart |
+++ b/runtime/lib/convert_patch.dart |
@@ -6,7 +6,7 @@ import "dart:_internal" show POWERS_OF_TEN; |
// JSON conversion. |
-patch _parseJson(String json, reviver(var key, var value)) { |
+@patch _parseJson(String json, reviver(var key, var value)) { |
_BuildJsonListener listener; |
if (reviver == null) { |
listener = new _BuildJsonListener(); |
@@ -21,8 +21,8 @@ patch _parseJson(String json, reviver(var key, var value)) { |
return listener.result; |
} |
-patch class Utf8Decoder { |
- /* patch */ |
+@patch class Utf8Decoder { |
+ /* @patch */ |
Converter<List<int>, dynamic/*=T*/> fuse/*<T>*/( |
Converter<String, dynamic/*=T*/> next) { |
if (next is JsonDecoder) { |
@@ -34,7 +34,7 @@ patch class Utf8Decoder { |
} |
// Allow intercepting of UTF-8 decoding when built-in lists are passed. |
- /* patch */ |
+ /* @patch */ |
static String _convertIntercepted( |
bool allowMalformed, List<int> codeUnits, int start, int end) { |
return null; // This call was not intercepted. |
@@ -1376,8 +1376,8 @@ class _JsonStringParser extends _ChunkedJsonParser { |
} |
} |
-patch class JsonDecoder { |
- /* patch */ StringConversionSink startChunkedConversion(Sink<Object> sink) { |
+@patch class JsonDecoder { |
+ /* @patch */ StringConversionSink startChunkedConversion(Sink<Object> sink) { |
return new _JsonStringDecoderSink(this._reviver, sink); |
} |
} |