Skip to content

fix(franca_to_ifex): remove duplicate franca.Int16 entry in type_translation#177

Open
SoundMatt wants to merge 1 commit into
COVESA:masterfrom
SoundMatt:fix/franca-to-ifex-duplicate-int16-key
Open

fix(franca_to_ifex): remove duplicate franca.Int16 entry in type_translation#177
SoundMatt wants to merge 1 commit into
COVESA:masterfrom
SoundMatt:fix/franca-to-ifex-duplicate-int16-key

Conversation

@SoundMatt

Copy link
Copy Markdown

type_translation contained the entry franca.Int16 : "int16" twice. Python silently uses the last definition for any duplicate dict key. Here both values are the same so the mapping is still correct, but the duplicate is misleading and would mask a copy-paste error if the second entry were ever changed to a different target type. Remove the duplicate line.

…ation

`type_translation` contained `franca.Int16 : "int16"` twice.  Python
silently uses the last entry, so the duplicate is harmless here, but
it is misleading and could mask a real mistake (e.g. if the second
occurrence had been intended to map to a different type).  Remove the
duplicate line.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

Signed-off-by: Matt Jones <47545907+SoundMatt@users.noreply.github.com>
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