Add an implicit cast to Unit in returns from a constructor.

This commit is contained in:
Steven Schäfer
2019-03-25 10:39:00 +01:00
committed by Dmitry Petrov
parent 826f55ecb4
commit 59c5d8bdb8
6 changed files with 47 additions and 3 deletions
@@ -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) {