KT-5527 Double TYPE_MISMATCH diagnostic when returns object
#KT-5527 Fixed
This commit is contained in:
@@ -5856,6 +5856,11 @@ public class JetDiagnosticsTestGenerated extends AbstractJetDiagnosticsTest {
|
||||
doTest("compiler/testData/diagnostics/tests/objects/kt2240.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt5527.kt")
|
||||
public void testKt5527() throws Exception {
|
||||
doTest("compiler/testData/diagnostics/tests/objects/kt5527.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("objectLiteralExpressionTypeMismatch.kt")
|
||||
public void testObjectLiteralExpressionTypeMismatch() throws Exception {
|
||||
doTest("compiler/testData/diagnostics/tests/objects/objectLiteralExpressionTypeMismatch.kt");
|
||||
|
||||
Reference in New Issue
Block a user