You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 22, 2018. It is now read-only.
typedefWindowClickHandler(Object e);
classDefaultWindowClickHandler {
voidcall(Object e) { }
}
WindowClickHandler h =newDefaultWindowClickHandler();
// Generates an error as DefaultWindowClickHandler is not a WindowClickHandler
The text was updated successfully, but these errors were encountered:
classExceptionHandler {
/** * Delegate uncaught exception for central error handling. * * - [error] The error which was caught. * - [stack] The stacktrace. * - [reason] Optional contextual information for the error. */call(dynamic error, dynamic stack, [String reason ='']) {
print("$error\n$reason\nSTACKTRACE:\n$stack");
}
}
DDC:severe: StaticTypeError, Type check failed: exceptionHandler: _exceptionHandler (ExceptionHandler) is not of type (dynamic, dynamic) → void
https://www.dartlang.org/articles/emulating-functions/
Repro:
The text was updated successfully, but these errors were encountered: