Skip to content

Fix type inferencing for multiple assignment of non-constant values #1485

@eric-milles

Description

@eric-milles

Consider the following:

def bar() { }
int foo() { }
def (x,y) = [foo(), bar()]

The inferred type of "x" is Object when int or Integer is expected.

image

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions