| Index: test/dart_codegen/expect/core/string_buffer.dart
|
| diff --git a/test/dart_codegen/expect/core/string_buffer.dart b/test/dart_codegen/expect/core/string_buffer.dart
|
| index abdd7c1f49344345ea9770fbdc7f1248b58a5735..15a7b00bce766ca2cee7603aaaef7a4a01c6bb92 100644
|
| --- a/test/dart_codegen/expect/core/string_buffer.dart
|
| +++ b/test/dart_codegen/expect/core/string_buffer.dart
|
| @@ -1,16 +1,16 @@
|
| part of dart.core;
|
|
|
| class StringBuffer implements StringSink {
|
| - @patch StringBuffer([Object content = ""]) : _contents = '$content';
|
| - @patch int get length => DDC$RT.cast(_contents.length, dynamic, int,
|
| - "CastGeneral", """line 20, column 21 of dart:core/string_buffer.dart: """,
|
| + StringBuffer([Object content = ""]) : _contents = '$content';
|
| + int get length => DDC$RT.cast(_contents.length, dynamic, int, "CastGeneral",
|
| + """line 23, column 21 of dart:core/string_buffer.dart: """,
|
| _contents.length is int, true);
|
| bool get isEmpty => length == 0;
|
| bool get isNotEmpty => !isEmpty;
|
| - @patch void write(Object obj) {
|
| + void write(Object obj) {
|
| _writeString('$obj');
|
| }
|
| - @patch void writeCharCode(int charCode) {
|
| + void writeCharCode(int charCode) {
|
| _writeString(new String.fromCharCode(charCode));
|
| }
|
| void writeAll(Iterable objects, [String separator = ""]) {
|
| @@ -32,10 +32,10 @@ class StringBuffer implements StringSink {
|
| write(obj);
|
| write("\n");
|
| }
|
| - @patch void clear() {
|
| + void clear() {
|
| _contents = "";
|
| }
|
| - @patch String toString() => ((__x40) => DDC$RT.cast(__x40, dynamic, String,
|
| - "CastGeneral", """line 68, column 24 of dart:core/string_buffer.dart: """,
|
| + String toString() => ((__x40) => DDC$RT.cast(__x40, dynamic, String,
|
| + "CastGeneral", """line 73, column 24 of dart:core/string_buffer.dart: """,
|
| __x40 is String, true))(Primitives.flattenString(_contents));
|
| }
|
|
|