fix(developer): remove incorrect offset for compiler error line#14651
Merged
fix(developer): remove incorrect offset for compiler error line#14651
Conversation
User Test ResultsTest specification and instructions
Test Artifacts
|
Contributor
Test ResultsBefore testing:
|
Contributor
Collaborator
|
Changes in this pull request will be available for download in Keyman version 19.0.111-alpha |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Not sure how this one came back - but it's certainly wrong in 18.0. Considering back port to 18.0.
Fixes: #13903
User Testing
I would like to verify a random selection of keyboards that have hints or warning messages in the .kmn, to make sure that the line number reported is correct. The attached log file can be scanned (search for
.kmn:) for hints and warnings with line numbers. Please choose a selection of these hints and warnings. The log file should be showing the errors off by one line. The new compiler should show the same messages for the keyboard, but this time reporting the correct line number.Keyboards_Build_and_Deploy_2338.zip
For example, in the log file we can find:
But if we build with this version of kmc, we should see: