Generate not-null assertions on method parameters
Intrinsics.checkParameterIsNotNull() gets its caller's class and method names from the stack trace to render them in an exception message. Fix codegen tests because now it's now allowed to pass null to non-null argument in tests
This commit is contained in:
@@ -129,6 +129,7 @@ public class SpecialFiles {
|
||||
|
||||
excludedFiles.add("doGenerateAssertions.kt"); // Multi-file + Java
|
||||
excludedFiles.add("doNotGenerateAssertions.kt"); // Multi-file + Java
|
||||
excludedFiles.add("doGenerateParamAssertions.kt"); // Java
|
||||
}
|
||||
|
||||
private SpecialFiles() {
|
||||
|
||||
Reference in New Issue
Block a user