Add an implicit cast to Unit in returns from a constructor.
This commit is contained in:
committed by
Dmitry Petrov
parent
826f55ecb4
commit
59c5d8bdb8
@@ -1,4 +1,3 @@
|
||||
// IGNORE_BACKEND: JVM_IR
|
||||
class A {
|
||||
val prop: Int
|
||||
constructor(arg: Boolean) {
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
// IGNORE_BACKEND: JVM_IR
|
||||
class A {
|
||||
val prop: Int
|
||||
constructor(arg: Boolean) {
|
||||
|
||||
Reference in New Issue
Block a user