Ignore globals when checking local variable names (#800)

This commit is contained in:
Charlie Marsh 2022-11-17 17:19:01 -05:00 committed by GitHub
parent 801c76037f
commit 66ae4db6cd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 42 additions and 35 deletions

View file

@ -79,8 +79,10 @@ pub enum BindingKind {
Annotation,
Argument,
Assignment,
// TODO(charlie): This seems to be a catch-all.
Binding,
LoopVar,
Global,
Builtin,
ClassDefinition,
Definition,