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 code select for method call with named and positional arguments #827

Closed
eric-milles opened this issue Mar 6, 2019 · 0 comments
Closed
Assignees
Labels
Milestone

Comments

@eric-milles
Copy link
Member

Consider the following:

def meth(Map args, Class type) {}

meth(name:null, groovy.transform.ToString)
meth(groovy.transform.ToString, name:null)

Code hover (F2) or code select (F3 or Ctrl+click) on "ToString" fails for both methods due to:

CodeSelectRequestor: Could not proceed due to null declaring type for org.codehaus.groovy.ast.expr.MapExpression@115da3[org.codehaus.groovy.ast.expr.MapEntryExpression@11c2fe(key: ConstantExpression[name], value: ConstantExpression[null])]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant