-
-
Notifications
You must be signed in to change notification settings - Fork 50
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
Compiler in infinite loop #14
Comments
My bad, I found my errors! |
Hi, @Arjuna144
There were some important changes to Lux as a language in v0.3.2 that cause the v0.3.1 stdlib to not compile (which was probably the error you got, since I see the I'm waiting until I'm done with v0.3.3 to document those changes, since some stuff requires a bit more polishing (I fixed a bug with tuples and I'm working on fixing one with variants, both of which were introduced in a major change during v0.3.2). I've also abstained from talking about JVM interop because I'm still adding a bit more features on that front, plus polishing what's already there, since it's usable, but not terribly comfortable as of v0.3.2 (importing them is great, but defining new classes is still somewhat of a hassle). Anyway... regarding the infinite loop! By the way, when you define this:
You don't need to put The parentheses syntax on Consider this:
Versus this:
Oh... and remember that to run a program you need a |
Hello there,
I was playing with lux a bit, and ran into an infinite loop with this code:
Most likely the mistake is on my side too, since I still don't understand all, what I am using there...
I am still using luxc3.1.jar since I am getting the following error with luxc.3.2.jar and the following
The text was updated successfully, but these errors were encountered: