Add 69 tests covering previously untested transpiler features#30
Merged
associate-1 merged 1 commit intomainfrom Feb 20, 2026
Merged
Add 69 tests covering previously untested transpiler features#30associate-1 merged 1 commit intomainfrom
associate-1 merged 1 commit intomainfrom
Conversation
Systematic gap analysis identified several implemented features with zero or near-zero test coverage. This adds e2e and lexer tests for: transputer intrinsics (LONGPROD, LONGDIV, LONGSUM, LONGDIFF, NORMALISE, SHIFTRIGHT, SHIFTLEFT), RETYPES bit reinterpretation, RESULT qualifier params, fixed-size array params, shared-type params, VAL []BYTE abbreviation, print.string/print.newline, ALT with boolean guards, MOSTNEG/MOSTPOS for REAL32/REAL64, modulo operator, SKIP/STOP, string-to-[]byte wrapping, Go reserved word escaping, multi-line expressions, and lexer paren/bracket depth suppression. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
dboreham
approved these changes
Feb 20, 2026
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.
Summary
New test coverage
e2e_intrinsics_test.goe2e_retypes_test.goe2e_params_test.goe2e_strings_test.goe2e_misc_test.golexer_test2_test.goSee
TEST_COVERAGE_IMPROVEMENTS.mdfor the full detailed breakdown.Test plan
go test ./...passes (all 358 tests)🤖 Generated with Claude Code