Improved variable lifetime tracking

This commit is contained in:
2024-06-30 00:17:14 +02:00
parent 6e1af81733
commit 3fe2cd1da2
17 changed files with 114 additions and 31 deletions

View File

@ -34,6 +34,7 @@ func TestErrors(t *testing.T) {
{"VariableAlreadyExists.q", &errors.VariableAlreadyExists{Name: "x"}},
{"UnknownIdentifier.q", &errors.UnknownIdentifier{Name: "x"}},
{"UnknownIdentifier2.q", &errors.UnknownIdentifier{Name: "x"}},
{"UnusedVariable.q", &errors.UnusedVariable{Name: "x"}},
}
for _, test := range tests {