HaxeFoundation / HaxeFoundation/hashlink

JIT ERROR 8

Open
#302 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
901
Forks
201
Avg merge
18h 9m
Merged PRs (30d)
8

Description

JIT ERROR 8 (jit.c line 998)

```haxe
@:multiType
abstract Failure(Null) {
function new(v);
@:from public static function from(v) { return cast v; }
@:to public function to(v):Float { return cast v; }
}

var fl:Failure = null;
```

JVM is failing too (maybe can help)

```
Exception in thread "main" java.lang.VerifyError: Operand stack underflow
Exception Details:
Location:
_Failure/Failure_Impl_.test()V @1: dstore_0
Reason:
Attempt to pop empty stack.
Current Frame:
bci: @1
flags: { }
locals: { }
stack: { null }
Bytecode:
0x0000000: 0147 b1

at haxe.root.Main.main(source/Main.hx)
at haxe.root.Main.main(source/Main.hx)
Error: Command failed with error 1
```

Other targets are working fine.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.