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

KCL stdlib 'map' function #4054

Merged
merged 3 commits into from
Oct 1, 2024
Merged

KCL stdlib 'map' function #4054

merged 3 commits into from
Oct 1, 2024

Conversation

adamchalmers
Copy link
Collaborator

@adamchalmers adamchalmers commented Oct 1, 2024

I had to revert #4031 because it broke syntax highlighting. This is the same PR, but updated to fix syntax highlighting.

Highlighting broke because the KCL LSP could not determine how to autocomplete the map function. The first argument of map is [KclValue] and the LSP doesn't know any good suggestions for "any KCL value", so it error'd out. I am using the value [0..9] for this case now. Tested that syntax highlighting works again.

Copy link

qa-wolf bot commented Oct 1, 2024

QA Wolf here! As you write new code it's important that your test coverage is keeping up.
Click here to request test coverage for this PR!

Copy link

vercel bot commented Oct 1, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
modeling-app ✅ Ready (Inspect) Visit Preview Oct 1, 2024 2:43am

@adamchalmers adamchalmers merged commit 2a36936 into main Oct 1, 2024
1 check passed
@adamchalmers adamchalmers deleted the achalmers/map-again branch October 1, 2024 13:50
@nadr0 nadr0 mentioned this pull request Oct 7, 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

Successfully merging this pull request may close these issues.

1 participant