HaxeFoundation / HaxeFoundation/haxe
Inline constructors vs. Void (continued)
Open
- Dominant language
- Haxe
- Stars
- 6.9k
- Forks
- 715
- Avg merge
- 2d 2h
- Merged PRs (30d)
- 11
Description
This code kills the analyzer with a stack overflow:
```haxe
function main() {
[var tmp];
}
```
While I definitely want to fix that in the analyzer too, the code that comes out of the inline constructor processing has a problem too:
```
[Function:() -> Void]
[Block:Array]
[Var inlarr_0<6843>(VAssigned):Void]
[Binop:Void]
[Local inlarr_0(6843):Void:Void]
=
[Block:Void]
```
There shouldn't be an empty `TBlock` in a value place.
cc @basro
Contributor guide
Assessment
This issue has not been assessed yet.