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 type inference for class instance methods when accessed as properties #621

Closed
eric-milles opened this issue Jul 6, 2018 · 0 comments
Assignees
Labels
Milestone

Comments

@eric-milles
Copy link
Member

Follow on from #525 and #595. Method call superclass showing as unknown (underlined) though hover shows javadoc for Class.getSuperclass.

Class clazz = String
def parent = clazz.superclass
@eric-milles eric-milles added the bug label Jul 6, 2018
@eric-milles eric-milles added this to the v3.0.0 milestone Jul 6, 2018
@eric-milles eric-milles self-assigned this Jul 6, 2018
eric-milles added a commit that referenced this issue Jul 6, 2018
- "Class clazz = ...; clazz.package" should infer as Class.getPackage()
with confidence > unknown
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