Skip to content

Conversation

@dcodeIO
Copy link
Member

@dcodeIO dcodeIO commented Jun 9, 2020

This PR fixes #1289 by resolving variable types to their respective function targets (if there is one, otherwise errors) in resolveCallExpression. Works because all the compiler is interested in on CallExpression is a callable, not the element, and the old behavior can be achieved by unwrapping and resolving callExpression.expression instead if that becomes necessary (currently isn't).

  • I've read the contributing guidelines

@dcodeIO dcodeIO merged commit 42f6c85 into master Jun 9, 2020
@dcodeIO dcodeIO deleted the issue-1289 branch June 11, 2020 17:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Issue with immediately executed functions

2 participants