Skip to content

Inconsistent code assist suggestions for range expression #690

@mauromol

Description

@mauromol

Found while verifying #676.

Ensure auto activation is enabled and type: (1..2).ea. Code assist will be shown and will list each and eachWithIndex. While code assist suggestion list is open, hit Ctrl+Space to cycle through proposals. Otherwise, close the suggestion list and hit ctrl+space: a new suggestion list is shown, including, for instance, forEach.
It seems like that when auto-activation occurs, the range is evaluated as Object, while after you call code assist "manually", it's evaluated as Iterable, hence giving additional proposals.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions