Generate compareTo() properly
Take into account: 1) resolved call to compareTo (instead of always calling Comparable's method) 2) types of both caller and callee, when primitive, to avoid wrong casting (instead of always using caller's type) #KT-3078 Fixed
This commit is contained in:
@@ -114,6 +114,13 @@ public class GenerateTests {
|
||||
testModel("compiler/testData/codegen/instructions")
|
||||
);
|
||||
|
||||
generateTest(
|
||||
"compiler/tests/",
|
||||
"OperatorConventionsTestGenerated",
|
||||
AbstractCodegenTest.class,
|
||||
testModel("compiler/testData/codegen/operatorConventions")
|
||||
);
|
||||
|
||||
generateTest(
|
||||
"compiler/tests/",
|
||||
"ExtensionPropertiesTestGenerated",
|
||||
|
||||
Reference in New Issue
Block a user