JVM: refactor JvmDefaultMode, remove/rename some entries
- remove ENABLE/COMPATIBILITY because they can no longer be used - remove forAllMethodsWithBody because its behavior is now equivalent to isEnabled - inline isCompatibility - inline DEFAULT - rename ALL_INCOMPATIBLE -> ALL
This commit is contained in:
committed by
Space Team
parent
6219806ab9
commit
28797a31b4
+1
-1
@@ -155,7 +155,7 @@ internal class KtFirMetadataCalculator(override val analysisSession: KtFirAnalys
|
||||
metadataVersion = metadataVersion,
|
||||
// Technically we should use JvmDefaultMode.ALL_INCOMPATIBLE because Kapt4 always uses `-Xjvm-default=all`, but it would make
|
||||
// the majority of tests fail because metadata of each interface will have a flag set, compared to Kapt3.
|
||||
jvmDefaultMode = JvmDefaultMode.DEFAULT,
|
||||
jvmDefaultMode = JvmDefaultMode.DISABLE,
|
||||
stringTable,
|
||||
null,
|
||||
null
|
||||
|
||||
Reference in New Issue
Block a user