Java: Fix join-order in SameNameAsSuper.

This commit is contained in:
Anders Schack-Mulligen
2022-08-02 12:49:21 +02:00
parent 34de4000ac
commit 80bba605e3

View File

@@ -16,5 +16,5 @@ from RefType sub, RefType sup
where
sub.fromSource() and
sup = sub.getASupertype() and
sub.getName() = sup.getName()
pragma[only_bind_out](sub.getName()) = pragma[only_bind_out](sup.getName())
select sub, sub.getName() + " has the same name as its supertype $@.", sup, sup.getQualifiedName()