Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(8)

Unified Diff: test/dart_codegen/expect/convert/utf.dart

Issue 1023543002: Enable inference in the core libs (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « test/dart_codegen/expect/convert/byte_conversion.dart ('k') | test/dart_codegen/expect/core/uri.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/dart_codegen/expect/convert/utf.dart
diff --git a/test/dart_codegen/expect/convert/utf.dart b/test/dart_codegen/expect/convert/utf.dart
index 13d77b59b5ecef73bddf9d6691bd0221dc38eb23..3bcd62988393ae1e85e7963a842a0ac5ef919202 100644
--- a/test/dart_codegen/expect/convert/utf.dart
+++ b/test/dart_codegen/expect/convert/utf.dart
@@ -51,7 +51,7 @@ if (sink is! ByteConversionSink) {
int _bufferIndex = 0;
final List<int> _buffer;
static const _DEFAULT_BYTE_BUFFER_SIZE = 1024;
- _Utf8Encoder() : this.withBufferSize(DEVC$RT.cast(_DEFAULT_BYTE_BUFFER_SIZE, dynamic, int, "CastGeneral", """line 143, column 40 of dart:convert/utf.dart: """, _DEFAULT_BYTE_BUFFER_SIZE is int, true));
+ _Utf8Encoder() : this.withBufferSize(_DEFAULT_BYTE_BUFFER_SIZE);
_Utf8Encoder.withBufferSize(int bufferSize) : _buffer = _createBuffer(bufferSize);
static List<int> _createBuffer(int size) => new Uint8List(size);
bool _writeSurrogate(int leadingSurrogate, int nextCodeUnit) {
« no previous file with comments | « test/dart_codegen/expect/convert/byte_conversion.dart ('k') | test/dart_codegen/expect/core/uri.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698