Prohibit inline classes with special underlying types

#KT-25328 Fixed
 #KT-23819 Fixed
This commit is contained in:
Mikhail Zarechenskiy
2018-08-06 01:43:30 +03:00
parent 6d4d244c28
commit ddf6c37e0e
9 changed files with 91 additions and 0 deletions
@@ -10872,6 +10872,11 @@ public class DiagnosticsTestGenerated extends AbstractDiagnosticsTest {
runTest("compiler/testData/diagnostics/tests/inlineClasses/inlineClassImplementsCollection.kt");
}
@TestMetadata("inlineClassWithForbiddenUnderlyingType.kt")
public void testInlineClassWithForbiddenUnderlyingType() throws Exception {
runTest("compiler/testData/diagnostics/tests/inlineClasses/inlineClassWithForbiddenUnderlyingType.kt");
}
@TestMetadata("inlineClassesInsideAnnotations.kt")
public void testInlineClassesInsideAnnotations() throws Exception {
runTest("compiler/testData/diagnostics/tests/inlineClasses/inlineClassesInsideAnnotations.kt");