Files
kotlin-fork/compiler/testData/compileKotlinAgainstCustomBinaries/sealedInheritorInDifferentModule/output.fir.txt
T

18 lines
793 B
Plaintext
Vendored

warning: ATTENTION!
This build uses unsafe internal compiler arguments:
-XXLanguage:+AllowSealedInheritorsInDifferentFilesOfSamePackage
-XXLanguage:+SealedInterfaces
This mode is not recommended for production use,
as no stability/compatibility guarantees are given on
compiler or generated code. Use it at your own risk!
compiler/testData/compileKotlinAgainstCustomBinaries/sealedInheritorInDifferentModule/main.kt:5:11: error: extending sealed classes or interfaces from a different module is prohibited.
class B : Base(), IBase
^
compiler/testData/compileKotlinAgainstCustomBinaries/sealedInheritorInDifferentModule/main.kt:5:19: error: extending sealed classes or interfaces from a different module is prohibited.
class B : Base(), IBase
^
COMPILATION_ERROR