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:
committed by
Space Team
parent
111bb461a9
commit
0625c1ea76
+4
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user