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

Unified Diff: runtime/bin/http_impl.dart

Issue 10918118: Fix an analyser error in the http_impl. The code works fine on the VM. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 3 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/http_impl.dart
diff --git a/runtime/bin/http_impl.dart b/runtime/bin/http_impl.dart
index 52d27193375a0be27e2e83d905c1d1d21f09ad6e..cbfa7de120b8703120c8fb553f22789d0b0744d2 100644
--- a/runtime/bin/http_impl.dart
+++ b/runtime/bin/http_impl.dart
@@ -427,7 +427,8 @@ class _HeaderValue implements HeaderValue {
class _ContentType extends _HeaderValue implements ContentType {
- _ContentType([String this._primaryType = "", String this._subType = ""]);
+ _ContentType([String primaryType = "", String subType = ""])
+ : _primaryType = primaryType, _subType = subType;
_ContentType.fromString(String value) : super.fromString(value);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698