Skip to content

Fix type inferencing and syntax highlighting for spread, spread map and multi-assignment expressions #997

@eric-milles

Description

@eric-milles

Consider the following:

def two(x, y) { }
def list = [1, 2]
two(*list)

list = [2, 3]
[1, *list]

def map = [a:1, b:2]
two(*:map)

map = [b:2, c:3]
[a:1, *:map]

def a, b
(a, b) = [1, 2]

The spread and spread map expressions are highlighted as underlined (unknown).

image

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions