"""Find comparisons of a value against itself. FernFlower sometimes merges two distinct locals into one name, producing expressions like d1 != d1 that are always false. The compiler accepts them, so they survive a clean build and silently disable the code around them. python find_self_comparisons.py """ import io import os import re import sys # a.b() != a.b() and simple locals: word != word, word == word COMPARISON = re.compile(r'(?