HaxeFoundation / HaxeFoundation/haxe

[display] use isIterable and isKeyValueIterable in toplevel sorting

Open
#7,770 2 comments 0 reactions 0 assignees View on GitHub
enhancement feature-ide
Dominant language
Haxe
Stars
6.9k
Forks
715
Avg merge
2d 2h
Merged PRs (30d)
11

Description

In order to support `for`-loop generation for arbitrary types with `iterator()` / `keyValueIterator()` methods instead of only a few hardcoded types from the std lib, the language server needs these flags in `FieldCompletionSubject`.

Haxe can also use this internally for expected type sorting on `for (foo in ...)` and `for (key => value in ...)`.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.