github / github/codeql

Java: Some expressions have `<any>` as type

Đang mở
#11,442 6 bình luận 0 reaction 0 người được giao Xem trên GitHub
question
Ngôn ngữ chính
CodeQL
Star
10.1k
Fork
2.1k
Merge trung bình
2 ngày 15 giờ
Pull request đã merge (30 ngày)
141

Mô tả

### Version

CodeQL CLI 2.11.4

### Description

Some expressions seem to have `` as type which is a CodeQL `Class` without any supertypes. Is that intended?

Example query:
```codeql
/**
* @kind problem
*/

import java

from Expr e
where e.getType().hasName("")
select e, "has as type"
```
Ran against https://github.com/codecentric/spring-boot-admin/commit/85ec2b7f61c60e2435ae645cb2017492ca75c940

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.