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

Unified Diff: sdk/lib/_internal/lib/constant_map.dart

Issue 155593004: Another adjustment to constant_map to fix analyzer warnings. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 10 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: sdk/lib/_internal/lib/constant_map.dart
diff --git a/sdk/lib/_internal/lib/constant_map.dart b/sdk/lib/_internal/lib/constant_map.dart
index 7dbedbcc89b2059633d4f37f83d8b074d090bec7..f13f30911b03c4078dc9c18a24bb92a1ee437742 100644
--- a/sdk/lib/_internal/lib/constant_map.dart
+++ b/sdk/lib/_internal/lib/constant_map.dart
@@ -28,7 +28,7 @@ class ConstantStringMap<K, V> extends ConstantMap<K, V>
// This constructor is not used. The instantiation is shortcut by the
// compiler. It is here to make the uninitialized final fields legal.
- const ConstantStringMap._(this.length, this._jsObject, _keys) : super._();
+ const ConstantStringMap._(this.length, this._jsObject, this._keys) : super._();
sra1 2014/02/07 02:24:46 Line length, break before :
final int length;
// A constant map is backed by a JavaScript object.
@@ -69,7 +69,7 @@ class ConstantStringMap<K, V> extends ConstantMap<K, V>
class ConstantProtoMap<K, V> extends ConstantStringMap<K, V> {
// This constructor is not used. The instantiation is shortcut by the
// compiler. It is here to make the uninitialized final fields legal.
- ConstantProtoMap._(length, jsObject, keys) : super._(length, jsObject, keys);
+ ConstantProtoMap._(length, jsObject, keys, this._protoValue) : super._(length, jsObject, keys);
sra1 2014/02/07 02:24:46 ditto
final V _protoValue;
« 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