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

[CRYPTIC]: Reported error is not helpful for missing comma/parentheses type errors #5055

Open
r-barton opened this issue Jan 14, 2025 · 0 comments · May be fixed by #5079 or #5210
Open

[CRYPTIC]: Reported error is not helpful for missing comma/parentheses type errors #5055

r-barton opened this issue Jan 14, 2025 · 0 comments · May be fixed by #5079 or #5210
Labels
cryptic-error Source code produces a confusing error

Comments

@r-barton
Copy link
Contributor

Paste minimal KCL source that produces a cryptic error

// define an axis axis001
axis001 = {
  custom = {
    axis = [-1.0, -0.0, 0],
    origin = [-0.37500000000000006, 0.0, 0]
  }
}

// create a helix helix000
helix000 = helix({
  angleStart = 0.0,
  ccw = true,
  revolutions = 13.0,
  length = -0.40625,
  axis = axis001
  radius = 0.05600000000000001
})

Expected Behavior

I expect a better error message for missing commas and parentheses

',' or ')' expected

Additional Context

No response

@r-barton r-barton added the cryptic-error Source code produces a confusing error label Jan 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cryptic-error Source code produces a confusing error
Projects
None yet
1 participant