Java: Some JavadocTag line numbers are wrong
未关闭
Java
question
- 主要语言
- CodeQL
- 星标
- 10.1k
- 派生
- 2.1k
- 平均合并
- 2 天 15 小时
- 30 天内合并 PR
- 141
描述
**Description of the issue**
QL reports wrong line numbers for some `JavadocTag`s.
Example query for LGTM demo projects:
```ql
import java
from JavadocTag a, JavadocTag b, Location locA, Location locB
where
a != b
and a.getParent() = b.getParent()
and locA = a.getLocation()
and locB = b.getLocation()
and locA.getStartLine() = locB.getStartLine()
select a, b, a.getText(), b.getText(),
locA.getEndLine(), locB.getEndLine(),
locA.getStartColumn(), locB.getStartColumn(),
locA.getEndColumn(),locB.getEndColumn()
```
[Query console link](https://lgtm.com/query/3568186472631499443/)
Note how these tags should be in the same line, but actually represent tags in different lines.
贡献指南
评估
这个 Issue 还没有评估数据。