HaxeFoundation / HaxeFoundation/haxe

[4.3.6] Building from source throws an error in typecore.ml

Open
#11,787 11 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

```
File "src/context/typecore.ml", line 297, characters 24-59:
297 | if not (List.exists (ExtLib.String.starts_with p.pfile) ctx.com.std_path) then begin
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error: This expression has type prefix:string -> bool
but an expression was expected of type 'a -> bool
```

This error occurs when building on both Windows and Linux, and occurs for me both locally and when building via Github Actions, on commit ID [760c0dd](https://github.com/HaxeFoundation/haxe/commit/760c0dd9972abadceba4e72edb1db13b2a4fb315), which is the tag of the 4.3.6 stable release.

Since the branch itself has not changed, I believe that this error may be a result of some dependency library not being locked properly.

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.