Index: lib/runtime/dart_sdk.js |
diff --git a/lib/runtime/dart_sdk.js b/lib/runtime/dart_sdk.js |
index 21f75dec979a199cc28ce880687af9c1b6acb3ce..4b6b622c2dc62645621a4c96471754c5ebb6991e 100644 |
--- a/lib/runtime/dart_sdk.js |
+++ b/lib/runtime/dart_sdk.js |
@@ -949,7 +949,7 @@ dart_library.library('dart_sdk', null, /* Imports */[ |
dart.callableClass = function(callableCtor, classExpr) { |
callableCtor.prototype = classExpr.prototype; |
callableCtor.prototype.constructor = callableCtor; |
- callableCtor.__proto__ = classExpr.__proto__; |
+ callableCtor.__proto__ = classExpr; |
return callableCtor; |
}; |
dart.defineNamedConstructorCallable = function(clazz, name, ctor) { |