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

Haxe 5.0 compile errors #593

Open
onehundredfeet opened this issue Mar 20, 2024 · 3 comments
Open

Haxe 5.0 compile errors #593

onehundredfeet opened this issue Mar 20, 2024 · 3 comments

Comments

@onehundredfeet
Copy link

I switched to haxe 5.0 and am getting this error:

.haxelib/haxeui-core/git/haxe/ui/util/Variant.hx:359: characters 20-47 : Recursive operator method
.haxelib/haxeui-core/git/haxe/ui/util/Variant.hx:359: characters 20-30 : haxe.ui.util.VariantType should be Int
.haxelib/haxeui-core/git/haxe/ui/util/Variant.hx:359: characters 20-30 : haxe.ui.util.VariantType should be Int
.haxelib/haxeui-core/git/haxe/ui/util/Variant.hx:359: characters 20-47 : The result of this operation (Int) is not compatible with declared return type haxe.ui.util.Variant
.haxelib/haxeui-core/git/haxe/ui/util/Variant.hx:368: characters 20-47 : Recursive operator method
.haxelib/haxeui-core/git/haxe/ui/util/Variant.hx:368: characters 20-30 : haxe.ui.util.VariantType should be Int
.haxelib/haxeui-core/git/haxe/ui/util/Variant.hx:368: characters 20-30 : haxe.ui.util.VariantType should be Int
.haxelib/haxeui-core/git/haxe/ui/util/Variant.hx:368: characters 20-47 : The result of this operation (Float) is not compatible with declared return type haxe.ui.util.Variant

Expected Behavior

No compile errors.

Current Behavior

Possible Solution

Steps to Reproduce (for bugs)

1.Get the latest Haxe from git
2.Compile
3.Install
4.Build any haxeui project

Media

.haxelib/haxeui-core/git/haxe/ui/util/Variant.hx:359: characters 20-47 : Recursive operator method
.haxelib/haxeui-core/git/haxe/ui/util/Variant.hx:359: characters 20-30 : haxe.ui.util.VariantType should be Int
.haxelib/haxeui-core/git/haxe/ui/util/Variant.hx:359: characters 20-30 : haxe.ui.util.VariantType should be Int
.haxelib/haxeui-core/git/haxe/ui/util/Variant.hx:359: characters 20-47 : The result of this operation (Int) is not compatible with declared return type haxe.ui.util.Variant
.haxelib/haxeui-core/git/haxe/ui/util/Variant.hx:368: characters 20-47 : Recursive operator method
.haxelib/haxeui-core/git/haxe/ui/util/Variant.hx:368: characters 20-30 : haxe.ui.util.VariantType should be Int
.haxelib/haxeui-core/git/haxe/ui/util/Variant.hx:368: characters 20-30 : haxe.ui.util.VariantType should be Int
.haxelib/haxeui-core/git/haxe/ui/util/Variant.hx:368: characters 20-47 : The result of this operation (Float) is not compatible with declared return type haxe.ui.util.Variant

Test app / minimal test case

Context

Your Environment

  • Version used:
    haxe --version
    5.0.0-alpha.1
    haxeui - 1.6 & latest git

  • Environment name and version (e.g. Chrome 39, node.js 5.4): hashlink, heaps

  • Operating System and version (desktop or mobile):OSX

  • Link to your project:

@Jarrio
Copy link
Contributor

Jarrio commented Mar 20, 2024

Hey, I solved this with the following changes #575

@onehundredfeet
Copy link
Author

Awesome! When will it be merged into the main branch?

@Jarrio
Copy link
Contributor

Jarrio commented Mar 20, 2024

I'm not sure, there's a compatibility issue with haxe 4.2.5

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