| Index: lib/runtime/_rtti.js
|
| diff --git a/lib/runtime/_rtti.js b/lib/runtime/_rtti.js
|
| index 28b963b411468fb70803195aca21087ce2decea9..b39c6275634d9a709df7ac05704e0429c64d33ba 100644
|
| --- a/lib/runtime/_rtti.js
|
| +++ b/lib/runtime/_rtti.js
|
| @@ -137,7 +137,9 @@ dart_library.library('dart_runtime/_rtti', null, /* Imports */[
|
| if (result) return result;
|
| result = obj.constructor;
|
| if (result == Function) {
|
| - return getFunctionType(obj);
|
| + // An undecorated Function should have come from
|
| + // JavaScript. Treat as untyped.
|
| + return types.jsobject;
|
| }
|
| return result;
|
| }
|
|
|