Statement encloses itself
Ouverte
Java
question
- Langage dominant
- CodeQL
- Étoiles
- 10.1k
- Forks
- 2.1k
- Merge moyen
- 2 j 15 h
- PR mergées (30 j)
- 141
Description
**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/
Guide de contribution
Ouvrir le guide de contribution
Évaluation
Cette issue n'a pas encore été évaluée.