Files
kotlin/compiler/testData/codegen/notNullAssertions/noAssertionForPrivateMethod.kt
Alexander Udalov c9984c3d06 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
2012-10-08 19:13:20 +04:00

5 lines
51 B
Kotlin
Vendored

class A {
private fun foo(s: String) {
}
}