Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot compile haxe 4.3.5 from git tag #11821

Closed
singpolyma opened this issue Nov 11, 2024 · 6 comments
Closed

Cannot compile haxe 4.3.5 from git tag #11821

singpolyma opened this issue Nov 11, 2024 · 6 comments

Comments

@singpolyma
Copy link
Contributor

singpolyma commented Nov 11, 2024

git clone [email protected]:HaxeFoundation/haxe.git
cd haxe
git checkout 4.3.5
make haxe
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
make: *** [Makefile:81: haxe] Error 1    
@singpolyma
Copy link
Contributor Author

It's the same with or without submodule update.

This is on debian stable.

ocaml version: 5.2.0

@singpolyma
Copy link
Contributor Author

It seems this was fixed by 1ce738c but I'm not sure how the older versions were built...

@Simn
Copy link
Member

Simn commented Nov 12, 2024

Thank you for the investigation! Could you try if it works when you move that line below the let m = Abstract.get_underlying_type a pl in line?

I'd like to extract a reproducible example for this either way, but first we have understand why this goes wrong.

@singpolyma
Copy link
Contributor Author

@Simn I think you meant that comment to go on #11820 ?

@Simn
Copy link
Member

Simn commented Nov 12, 2024

Oops, indeed!

@Simn
Copy link
Member

Simn commented Nov 18, 2024

See #11787

@Simn Simn closed this as completed Nov 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants