This repository was archived by the owner on Feb 22, 2018. It is now read-only.
This repository was archived by the owner on Feb 22, 2018. It is now read-only.
ddc does not respect classes emulating functions in dart #19
Closed
Description
https://www.dartlang.org/articles/emulating-functions/
Repro:
typedef WindowClickHandler(Object e);
class DefaultWindowClickHandler {
void call(Object e) { }
}
WindowClickHandler h = new DefaultWindowClickHandler();
// Generates an error as DefaultWindowClickHandler is not a WindowClickHandler