JET-50 Drop the 'new' keyword
This commit is contained in:
@@ -8,8 +8,8 @@ class D() : Left(), Right() {
|
||||
}
|
||||
|
||||
fun box() : String {
|
||||
val r : Right = new Right()
|
||||
val d : D = new D()
|
||||
val r : Right = Right()
|
||||
val d : D = D()
|
||||
|
||||
if (r.f() != 42) return "Fail #1"
|
||||
if (d.f() != 239) return "Fail #2"
|
||||
|
||||
Reference in New Issue
Block a user