mirror of
https://github.com/github/codeql.git
synced 2026-07-31 07:22:56 +02:00
unified: Add variable shadowing local function
This commit is contained in:
@@ -187,6 +187,8 @@ func t22() {
|
||||
}
|
||||
inner() // $ access=inner1
|
||||
print(x) // $ access=x1
|
||||
let inner = 2 // name=inner2
|
||||
print(inner) // $ access=inner2
|
||||
}
|
||||
|
||||
// Three levels of shadowing
|
||||
|
||||
Reference in New Issue
Block a user