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

Unified Diff: runtime/lib/mirrors_impl.dart

Issue 19839002: Improve test coverage of reflective invocation. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 5 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 | tests/lib/lib.status » ('j') | tests/lib/lib.status » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.
« no previous file with comments | « no previous file | tests/lib/lib.status » ('j') | tests/lib/lib.status » ('J')

Powered by Google App Engine
This is Rietveld 408576698