[docs] haxe.macro.ExprDef EReturn(Expr) should be EReturn(Null<Expr>)
Nobody has claimed this yet.
Assessment
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Newbie friendliness
- 55/100
- Issue type
- Documentation
- Clarity
- Clearly specified
- Activity status
- Stale
- Domain
- documentation
Research direction
Start with the linked haxe.macro.ExprDef API entry for EReturn and compare it with the referenced std/haxe/macro/Expr.hx source line. Update the documentation so the parameter is shown as Null, then verify the generated API entry reflects the source type.
Written by the indexing model from the issue text.
Description
In the macro API documentation here, the EReturn ExprDef is stated as having an Expr parameter, but it accepts null, and with a null parameter it becomes a plain return; statement. In other cases of ExprDef, where behavior is different when passing a null parameter, the documentation shows the parameter typed as Null so it should be for EReturn as well. I checked the ExprDef source and found that in the code the type is correct as of two years ago, so the documentation must be out of date.
- Dominant language
- Haxe
- Stars
- 158
- Forks
- 38
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from HaxeFoundation/dox
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
HaxeFoundation/dox#312 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
HaxeFoundation/dox#309 ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
HaxeFoundation/dox#308 · 6 comments ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
HaxeFoundation/dox#299 · 1 comment ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
HaxeFoundation/dox#294 · 3 comments · 1 reaction ·
All issues in HaxeFoundation/dox
Similar issues
-
bug docs
Difficulty 1/5 Under an hour Newbie friendliness 85/100
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
ActivityWatch/docs#223 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 85/100
Maintainers usually reply within 1 day
-
sync-en
Difficulty 1/5 Under an hour Newbie friendliness 85/100
Maintainers usually reply within 1 day
-
sync-en
Difficulty 1/5 Under an hour Newbie friendliness 85/100
Maintainers usually reply within 1 day