Consider the following:
some.dsld
contribute(enclosingMethod('foo')) {
property name: 'bar', type: BigInteger
}
Script.groovy
def foo(Integer bar) {
bar // should inference as Integer, not BigInteger
}
At present, DSLD contributions (from method and property) are overriding local parameter/variable declarations.
Consider the following:
some.dsld
Script.groovy
At present, DSLD contributions (from
methodandproperty) are overriding local parameter/variable declarations.