Chromium Code Reviews| Index: lib/compiler/implementation/lib/core_patch.dart |
| =================================================================== |
| --- lib/compiler/implementation/lib/core_patch.dart (revision 13403) |
| +++ lib/compiler/implementation/lib/core_patch.dart (working copy) |
| @@ -34,7 +34,8 @@ |
| patch static apply(Function function, |
| List positionalArguments, |
| [Map<String,Dynamic> namedArguments]) { |
| - throw new NotImplementedException("Function.apply is not implemented"); |
| + return Primitives.applyFunction( |
|
ahe
2012/10/09 12:12:26
If you make this function top-level, then you can
|
| + function, positionalArguments, namedArguments); |
| } |
| } |