You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
The text was updated successfully, but these errors were encountered:
This code is legal in Groovy:
However code assist does not propose 'foo' field from a superclass for the map-style constructor:
The text was updated successfully, but these errors were encountered: