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

Unified Diff: sdk/lib/convert/latin1.dart

Issue 1827803002: Make convert library strong-mode compliant. Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Fix more converters. Created 4 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 | « sdk/lib/convert/json.dart ('k') | sdk/lib/convert/line_splitter.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/convert/latin1.dart
diff --git a/sdk/lib/convert/latin1.dart b/sdk/lib/convert/latin1.dart
index 98d7ba57aa5f007d410090992c18ed36c4e928e5..1d8546d189b4b052a48c77586a97f2d3f047ad4e 100644
--- a/sdk/lib/convert/latin1.dart
+++ b/sdk/lib/convert/latin1.dart
@@ -59,9 +59,9 @@ class Latin1Codec extends Encoding {
}
}
- Converter<String, List<int>> get encoder => const Latin1Encoder();
+ Latin1Encoder get encoder => const Latin1Encoder();
- Converter<List<int>, String> get decoder =>
+ Latin1Decoder get decoder =>
_allowInvalid ? const Latin1Decoder(allowInvalid: true)
: const Latin1Decoder(allowInvalid: false);
}
« no previous file with comments | « sdk/lib/convert/json.dart ('k') | sdk/lib/convert/line_splitter.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698