Merge pull request #21999 from aschackmull/cfg/parameter-pattern

Cfg: Distinguish parameters from their patterns.
This commit is contained in:
Anders Schack-Mulligen
2026-06-18 15:18:22 +02:00
committed by GitHub
3 changed files with 31 additions and 14 deletions

View File

@@ -61,6 +61,8 @@ private module Ast implements AstSig<Location> {
class Parameter extends AstNode {
Parameter() { none() }
AstNode getPattern() { none() }
Expr getDefaultValue() { none() }
}