Statement encloses itself
Abierto
Java
question
- Lenguaje dominante
- CodeQL
- Estrellas
- 10.1k
- Forks
- 2.1k
- Merge medio
- 2 d 15 h
- PR fusionados (30 d)
- 141
Descripción
**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/
Guía de contribución
Evaluación
Este issue todavía no se ha evaluado.