GROOVY-6230: TypeChecker confuses attribute with field if getter has different type