github / github/codeql

Statement encloses itself

Aberta
#3,707 2 comentários 1 reação 0 responsáveis Ver no GitHub
Java question
Linguagem predominante
CodeQL
Estrelas
10.1k
Forks
2.1k
Merge médio
2d 15h
PRs com merge (30d)
141

Descrição

**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/

Guia de contribuição

Abrir o guia de contribuição

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.