HaxeFoundation / HaxeFoundation/haxe

`@:inheritDoc` doesn't work for typedef fields

Open
#12,490 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Haxe
Stars
6.9k
Forks
715
Avg merge
2d 2h
Merged PRs (30d)
11

Description

Maybe can be implemented
```haxe
typedef Foo = {
/**
base doc
**/
var ?foo:Int;
}

typedef Bar = {
@:inheritDoc(Foo.foo)
var ?bar:Int;
}

class Main {
static function main() {
final foo:Foo = {
foo: 0
};
final bar:Bar = {
bar: 0 // no doc
};
}
}

```

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.