mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-08 15:53:19 +00:00
Otherwise some tools break (e.g. CheckMethodAdapter in ASM, used in generic signature writer) because they expect class names to be Java identifiers. Some tests fixed, some will be fixed in future commits
8 lines
326 B
Kotlin
8 lines
326 B
Kotlin
fun foo() {
|
|
assert(1 == 1) { "Hahaha" }
|
|
}
|
|
|
|
// assert function will be inlined, and we assure that there are no calls via package part, but is call via package facade in inlined code
|
|
// 0 INVOKESTATIC kotlin\/KotlinPackage.+\.getASSERTIONS_ENABLED \(\)Z
|
|
// 1 INVOKESTATIC kotlin\/KotlinPackage\.getASSERTIONS_ENABLED \(\)Z
|