Index: sdk/lib/_internal/compiler/implementation/lib/core_patch.dart |
diff --git a/sdk/lib/_internal/compiler/implementation/lib/core_patch.dart b/sdk/lib/_internal/compiler/implementation/lib/core_patch.dart |
index 817364f9b80eba53b817f6ea4ff6ac7e775248e4..7133774cc87ea5fad88a130fee9ea3c609bd536f 100644 |
--- a/sdk/lib/_internal/compiler/implementation/lib/core_patch.dart |
+++ b/sdk/lib/_internal/compiler/implementation/lib/core_patch.dart |
@@ -233,6 +233,10 @@ patch class StringBuffer { |
_contents = Primitives.stringConcatUnchecked(_contents, str); |
} |
+ patch void writeCharCode(int charCode) { |
+ write(new String.fromCharCode(charCode)); |
+ } |
+ |
patch void clear() { |
_contents = ""; |
} |