Chromium Code Reviews| Index: runtime/lib/mirrors_impl.dart |
| =================================================================== |
| --- runtime/lib/mirrors_impl.dart (revision 25234) |
| +++ runtime/lib/mirrors_impl.dart (working copy) |
| @@ -226,7 +226,7 @@ |
| var unwrappedValue; |
| if(_isSimpleValue(value)) { |
| unwrappedValue = value; |
| - } else if(wrappedArg is InstanceMirror) { |
| + } else if(value is InstanceMirror) { |
| unwrappedValue = value._reflectee; |
| } else { |
| throw "setter argument ($value) must be a simple value or InstanceMirror"; |
|
ahe
2013/07/20 16:34:59
Long line.
|