Statement encloses itself
Aperta
Java
question
- Lingua principale
- CodeQL
- Stelle
- 10.1k
- Fork
- 2.1k
- Merge medio
- 2g 15h
- PR unite (30g)
- 141
Descrizione
**Description of the issue**
It is possible for a `Stmt` to enclose itself.
Is this expected behavior? If yes, maybe add a note to the docs?
```codeql
import java
from Stmt s
where s.getEnclosingStmt() = s
select s
```
Link to query:
https://lgtm.com/query/4871075667428522469/
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.