-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Open
Labels
Description
Description of the issue
QL reports wrong line numbers for some JavadocTags.
Example query for LGTM demo projects:
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()Note how these tags should be in the same line, but actually represent tags in different lines.