Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix result count for 'make', 'new' functions (fixes #1760) #1764

Merged
merged 2 commits into from
Jul 21, 2015

Conversation

auduchinok
Copy link
Contributor

Due to GoBuiltinCallExpr is used for make and new calls only, I think it's safe to say that it returns a single value.
See GoParserUtil:
https://github.com/eugene-auduchinok/go-lang-idea-plugin/blob/497fcd84047d91cb8907f1585e8d298074c1f976/src/com/goide/parser/GoParserUtil.java#L167-167

ignatov added a commit that referenced this pull request Jul 21, 2015
Fix result count for 'make', 'new' functions (fixes #1760)
@ignatov ignatov merged commit 9dc912d into go-lang-plugin-org:master Jul 21, 2015
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.

2 participants