Skip to content
This repository was archived by the owner on Feb 22, 2018. It is now read-only.

inference for FunctionDeclarationStatement's parameters #35

Closed
jmesserly opened this issue Jan 29, 2015 · 1 comment
Closed

inference for FunctionDeclarationStatement's parameters #35

jmesserly opened this issue Jan 29, 2015 · 1 comment

Comments

@jmesserly
Copy link
Contributor

a concrete example is byteToHex from core libraries. This ends up being treated as a dynamic invoke:
https://github.com/dart-lang/bleeding_edge/blob/0e10f28269038a9dab22712ca133e9b9f93136c7/dart/sdk/lib/core/uri.dart#L2059

typically local functions are used as a way to avoid repeating a code pattern. While it's likely harder than function expression inference, maybe we could match some of the common patterns.

@jmesserly
Copy link
Contributor Author

no plans for now

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Development

No branches or pull requests

1 participant