Skip to content

feat(typecheck): hint at List.concat for list addition - #168

Open
PandaHUN777 wants to merge 1 commit into
simontreanor:mainfrom
PandaHUN777:fix/list-add-concat-hint
Open

PandaHUN777 wants to merge 1 commit into
simontreanor:mainfrom
PandaHUN777:fix/list-add-concat-hint

Conversation

@PandaHUN777

Copy link
Copy Markdown

Suggest List.concat [a] [b] when list operands are used with numeric +, while retaining the existing string concatenation guidance. Add a regression test for list addition and keep the generic diagnostic for unrelated numeric mismatches.

Closes #134

Validation:

  • cargo fmt --check
  • cargo clippy --all-targets
  • cargo test

This branch has not been deployed

No deployments
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.

Hint List.concat when two lists are added with +

1 participant