Chromium Code Reviews| Index: sdk/lib/_internal/compiler/implementation/js_backend/emitter.dart |
| =================================================================== |
| --- sdk/lib/_internal/compiler/implementation/js_backend/emitter.dart (revision 14876) |
| +++ sdk/lib/_internal/compiler/implementation/js_backend/emitter.dart (working copy) |
| @@ -920,6 +920,12 @@ |
| emitIsTest(cls); |
| } |
| Set<Element> generated = new Set<Element>(); |
| + // A class that defines a [:call:] method implicitly implement |
|
karlklose
2012/11/14 12:03:04
'implement' -> 'implements'.
ngeoffray
2012/11/14 12:03:49
Done.
|
| + // [Function]. |
| + if (checkedClasses.contains(compiler.functionClass) |
| + && cls.lookupLocalMember(Compiler.CALL_OPERATOR_NAME) != null) { |
| + generateInterfacesIsTests(compiler.functionClass, emitIsTest, generated); |
| + } |
| for (DartType interfaceType in cls.interfaces) { |
| generateInterfacesIsTests(interfaceType.element, emitIsTest, generated); |
| } |