Partly support generics and nullable types as parameters for script templates
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
import java.lang.RuntimeException
|
||||
|
||||
val k: Int? = param
|
||||
if (k == null) System.out.println("Param is null") else throw RuntimeException("param is not null")
|
||||
Reference in New Issue
Block a user