This repository has been archived by the owner on Feb 22, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 61
support function types #358
Comments
How does this interact with generic method types? Maybe this? f/*<A, B>*/(dynamic/*=B*/ fn(dynamic/*=A*/ a)) {} How does this look for recursive types function typed arguments, e.g. functions that take functions that take functions? |
mprobst
added a commit
that referenced
this issue
Apr 4, 2016
Dart does not support general function types, but has special-cased support for function types in parameters. Fixes #358.
That looks correct on generics. Here's an example with function typed arguments:
|
mprobst
added a commit
that referenced
this issue
Apr 4, 2016
Summary: Dart does not support general function types, but has special-cased support for function types in parameters. Fixes #358. Reviewers: mhevery Subscribers: typescript-eng Differential Revision: https://reviews.angular.io/D37
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Given:
Expected:
Actual:
/cc: @vsmenon
The text was updated successfully, but these errors were encountered: