HaxeFoundation / HaxeFoundation/haxe

[display] wrong hover range when hovering over macro function call

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

Description

Using the repro case from https://github.com/HaxeFoundation/haxe/issues/9175, I found that only `Macro` gets highlighted when hovering over `func()`:

![](https://i.imgur.com/cWJREGx.png)

Normally, the range spans the entire expression, e.g. `Main.main`:

![](https://i.imgur.com/WGAZPds.png)

This may be a bit hard to see in the screenshots.

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.