HaxeFoundation / HaxeFoundation/haxe

`Sys.programPath()` fails on Interp target: `[0] Instance prototype not found: haxe.macro.Error`

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

Description

Haxe v4.2.5

Main.hx:
```haxe
function main()
trace(Sys.programPath());
```

```
haxe --run Main
```

Results in:
```
[0] Instance prototype not found: haxe.macro.Error
```

I'm getting the same result on both Mac (M1) and Linux (amd64).

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.