Add a compiler parameter to generate not-null assertions on method call sites

It is off by default when invoking compiler directly, and on by default when
compiling from IDE
This commit is contained in:
Alexander Udalov
2012-10-01 18:50:15 +04:00
parent 1f3586a151
commit 19a6a3f390
7 changed files with 31 additions and 8 deletions
+1
View File
@@ -8,6 +8,7 @@ Usage: org.jetbrains.jet.cli.jvm.K2JVMCompilerArguments
-noJdk [flag] don't include Java runtime into classpath
-noStdlib [flag] don't include Kotlin runtime into classpath
-noJdkAnnotations [flag] don't include JDK external annotations into classpath
-notNullAssertions [flag] generate not-null assertion after each invokation of method returning not-null
-builtins [flag] compile builtin classes (internal)
-output [String] output directory
-module [String] module to compile