Fix incorrect message for new nullability assertion exception in 1.4

#KT-36026 Fixed
This commit is contained in:
Alexander Udalov
2020-01-20 15:48:05 +01:00
parent cc317d7548
commit 3ca0f8a569
3 changed files with 18 additions and 15 deletions
@@ -1,6 +1,4 @@
// TARGET_BACKEND: JVM
// IGNORE_BACKEND: JVM, JVM_IR
// IGNORE_BACKEND_FIR: JVM_IR
// FILE: Test.java
public class Test {
@@ -1,2 +1,2 @@
java.lang.IllegalArgumentException: Parameter specified as non-null is null: method Foo.<init>, parameter x
java.lang.NullPointerException: Parameter specified as non-null is null: method Foo.<init>, parameter x
Foo.<init>(12.kt)