HaxeFoundation / HaxeFoundation/haxe

[display] @signature with function argument

Open
#6,383 14 comments 0 reactions 1 assignee Claimed by @Simn View on GitHub
feature-ide
Dominant language
Haxe
Stars
6.9k
Forks
715
Avg merge
2d 2h
Merged PRs (30d)
11

Description

Request the `@signature` at the single `(` here returns the signature of `sort()`, even though it's inside of a function declaration (vshaxe always requests the signature on `(` or `,`).

```haxe
class Main {
public static function main() {
var list:Array = [];
list.sort(function(a, b) {
(
return 0;
});
}
}
```

```
haxe --display Main.hx@115@signature
```

![](http://i.imgur.com/OD2bLWD.png)

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.