HaxeFoundation / HaxeFoundation/haxe
No completion for second optional argument
Open
bug
feature-ide
- Dominant language
- Haxe
- Stars
- 6.9k
- Forks
- 715
- Avg merge
- 2d 2h
- Merged PRs (30d)
- 11
Description
```haxe
function main() {
optionalObj({
// no completion
// { } should be Null
// For optional function argument 's'
});
optionalObj({
a: 1,
// no completion
// { a : Int } should be Null
// For optional function argument 's'
});
}
function optionalObj(?s:String, ?o:{a:Int, b:Int}) {}
```
Also would be nice to get `{fields...}`, like with `EitherType`, if this is related to compiler.
Contributor guide
Assessment
This issue has not been assessed yet.