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

Jakt compiler hangs when compiling function #321

Closed
mnlrsn opened this issue May 25, 2022 · 4 comments
Closed

Jakt compiler hangs when compiling function #321

mnlrsn opened this issue May 25, 2022 · 4 comments
Labels
bug Something isn't working good first issue Good for newcomers parser

Comments

@mnlrsn
Copy link
Contributor

mnlrsn commented May 25, 2022

This makes the compiler hang (possibly an infinite loop somewhere):

function make_array_f64 throws -> [f64] {
    let a : [f64] = [0f64]
    return a
}
@mustafaquraish mustafaquraish added bug Something isn't working good first issue Good for newcomers parser labels May 25, 2022
@linusg
Copy link
Member

linusg commented May 25, 2022

This is missing () after the function name

@gdelazzari
Copy link

This is also fixed by #278

@mnlrsn
Copy link
Contributor Author

mnlrsn commented May 25, 2022

This is missing () after the function name

This is also fixed by #278

Oops - and thanks for looking into this. So the compiler is not quite idiot proof yet...

@mnlrsn
Copy link
Contributor Author

mnlrsn commented Jun 29, 2022

Indeed fixed, possibly by #278

@mnlrsn mnlrsn closed this as completed Jun 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers parser
Projects
None yet
Development

No branches or pull requests

4 participants