Fix typo in PrintAst.qll

This commit is contained in:
Tamás Vajk
2022-01-12 09:47:11 +01:00
committed by Ian Lynagh
parent 33a9b4fb16
commit 75e4b6c740

View File

@@ -69,7 +69,7 @@ private predicate isNotNeeded(Element el) {
|
el.getLocation().hasLocationInfo(_, sline, eline, scol, ecol) and
c.getLocation().hasLocationInfo(_, sline, eline, scol, ecol) and
not c.getFile().isKotlinSourceFile() // Koltin constructor bodies have the same location as the constructor
not c.getFile().isKotlinSourceFile() // Kotlin constructor bodies have the same location as the constructor
// simply comparing their getLocation() doesn't work as they have distinct but equivalent locations
)
or