Skip to content

Conversation

@guptaarnav
Copy link
Contributor

Fixes #4150 by ignoring whitespace before a colon just like how whitespace after a colon is already ignored.
Added snapshot parser::parser_impl::snapshot_tests::bh for a kcl snippet that has whitespace before a colon.

@vercel
Copy link

vercel bot commented Oct 16, 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 16, 2024 4:59pm

@qa-wolf
Copy link

qa-wolf bot commented Oct 16, 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!

@adamchalmers
Copy link
Contributor

Great change, thank you very much!

@adamchalmers adamchalmers merged commit 1c2e415 into KittyCAD:main Oct 16, 2024
15 of 30 checks passed
@guptaarnav guptaarnav deleted the whitespace-before-colon branch October 16, 2024 17:11
lf94 added a commit that referenced this pull request Oct 16, 2024
Fixes #4150 by ignoring whitespace before a colon just like how whitespace after a colon is already ignored.
Added snapshot parser::parser_impl::snapshot_tests::bh for a kcl snippet that has whitespace before a colon.

Co-authored-by: 49fl <ircsurfer33@gmail.com>
@pierremtb pierremtb mentioned this pull request Oct 17, 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.

whitespace(s) in front of a colon causes a syntax error

3 participants