Minor, workaround an incremental compilation issue

After the previous commit, IC does not recompile code related to CLI
arguments parsing (likely due to KT-57919), so the resulting dist
compiler doesn't work at all, and all related tests are failing. This
"useless" override tricks the IC to recompile the class and all its
subclasses.
This commit is contained in:
Alexander Udalov
2023-05-27 00:15:42 +02:00
committed by Space Team
parent 111bb461a9
commit 0625c1ea76
@@ -95,4 +95,8 @@ abstract class CommonToolArguments : Freezable(), Serializable {
checkFrozen()
field = value
}
// This is a hack to workaround an issue that incremental compilation does not recompile CLI arguments classes after the change in
// the previous commit. This method can be removed after some time.
override fun equals(other: Any?): Boolean = super.equals(other)
}