Files
codeql/unified
Taus 3f56bc7d5e unified: Emit function and initializer parameter types
Emit a parameter's declared type on the mapped `parameter` node. The
tree-sitter path dropped it — its untyped-parameter rule was ordered
before the typed one and shadowed it — and the mapping matched that for
corpus parity; swift-syntax models the type as a required
`functionParameter.type`, so emitting it is a correctness improvement.

The existing function-parameter corpus cases (and the initializer cases
from the previous commit) witness the restored types.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-07-28 21:18:21 +00:00
..