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

chore(core): dx better err message on embedded test vkeys 🙀 #11119

Merged
merged 5 commits into from
Apr 2, 2024

Conversation

srl295
Copy link
Member

@srl295 srl295 commented Mar 28, 2024

Given:

<!--
  @@keys [ALT K_BKQUOTE]

produces err:

Error parsing [ALT K_BKQUOTE] - could not find vkey or modifier: ALT

.. instead of an uninformative assert.

Also if you have [SHIFT K_BKQUOTE K_BKQUOTE] it will produce

Error parsing vkey [SHIFT K_BKQUOTE K_BKQUOTE] - excess string after key: K_BKQUOTE

@keymanapp-test-bot skip

@srl295 srl295 self-assigned this Mar 28, 2024
@srl295 srl295 requested review from mcdurdin and rc-swag as code owners March 28, 2024 17:44
@keymanapp-test-bot
Copy link

keymanapp-test-bot bot commented Mar 28, 2024

@keymanapp-test-bot keymanapp-test-bot bot added this to the B17S4 milestone Mar 28, 2024
@github-actions github-actions bot added core/ Keyman Core chore labels Mar 28, 2024
@srl295 srl295 changed the title chore(core): dx better err message on embedded test vkeys chore(core): dx better err message on embedded test vkeys 🙀 Mar 28, 2024
- report on vk-not-found
- separate message for excess string
@srl295 srl295 force-pushed the feat/core/11072-default-modifier branch from b5c22e8 to bca037c Compare March 29, 2024 17:07
@srl295 srl295 force-pushed the chore/core/dx-better-embedded-test-msg branch from 61176e9 to 054d9fd Compare March 29, 2024 17:11
@srl295
Copy link
Member Author

srl295 commented Mar 29, 2024

force pushes due to error in #11118 - just cleaning up the parent branch

@mcdurdin mcdurdin modified the milestones: B17S4, B17S5 Mar 30, 2024
Base automatically changed from feat/core/11072-default-modifier to beta April 2, 2024 21:38
@srl295 srl295 merged commit 8d2fe35 into beta Apr 2, 2024
16 of 17 checks passed
@srl295 srl295 deleted the chore/core/dx-better-embedded-test-msg branch April 2, 2024 21:39
@keyman-server
Copy link
Collaborator

Changes in this pull request will be available for download in Keyman version 17.0.301-beta

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore core/ Keyman Core
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants