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

Code assist for map constructors does not propose fields of super class(es) #766

Closed
ybayk opened this issue Nov 19, 2018 · 1 comment
Closed
Assignees
Labels
Milestone

Comments

@ybayk
Copy link

ybayk commented Nov 19, 2018

This code is legal in Groovy:

class Base {
  String foo
}

class Sub extends Base {
  String bar
}

def sub = new Sub(foo:'foo', bar:'bar')
assert sub.foo == 'foo'
assert sub.bar == 'bar'

However code assist does not propose 'foo' field from a superclass for the map-style constructor:
image

@eric-milles
Copy link
Member

Ready to test

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

2 participants