Add a fallback flag -Xno-unified-null-checks for KT-22275

#KT-41482 Fixed
This commit is contained in:
Alexander Udalov
2020-08-28 21:10:22 +02:00
parent 40669350f7
commit 5e48be3d11
14 changed files with 35 additions and 16 deletions
+1
View File
@@ -73,6 +73,7 @@ where advanced options include:
Do not use optimized callable reference superclasses available from 1.4
-Xno-param-assertions Don't generate not-null assertions on parameters of methods accessible from Java
-Xno-receiver-assertions Don't generate not-null assertion for extension receiver arguments of platform types
-Xno-unified-null-checks Use pre-1.4 exception types in null checks instead of java.lang.NPE. See KT-22275 for more details
-Xno-use-ir Do not use the IR backend. Useful for a custom-built compiler where IR backend is enabled by default
-Xprofile=<profilerPath:command:outputDir>
Debug option: Run compiler with async profiler, save snapshots to outputDir, command is passed to async-profiler on start