Handle chained _ (#27)

Signed-off-by: Anand Krishnamoorthi <anakrish@microsoft.com>
This commit is contained in:
Anand Krishnamoorthi
2023-10-17 19:32:42 -07:00
committed by GitHub
parent 2436467fbd
commit 951bb6b14c
4 changed files with 193 additions and 13 deletions

View File

@@ -661,7 +661,7 @@ impl<'a> Analyzer<'a> {
)?;
self.locals.get(query)
}
_ => return Ok(()),
_ => break,
};
// Record vars used by the comprehension scope.