HaxeFoundation / HaxeFoundation/haxe
[display] DisplayLocal vs FunctionArgument.opt
Open
enhancement
feature-ide
- Dominant language
- Haxe
- Stars
- 6.9k
- Forks
- 715
- Avg merge
- 2d 2h
- Merged PRs (30d)
- 11
Description
```haxe
class Main {
static function main() {}
function foo(?bar:Int) {}
}
```
There's no way to tell whether the argument `bar` is actually optional or just `Null` from the data reported by hoveing over it (a `DisplayLocal`).

This is inconsistent with the data obtained from hovering over the function itself (`foo`), which includes this via the `opt` flag.
Contributor guide
Assessment
This issue has not been assessed yet.