JET-50 Drop the 'new' keyword
This commit is contained in:
@@ -7,10 +7,10 @@ class Outer() {
|
||||
class InnerDerived(): InnerBase(s) {
|
||||
}
|
||||
|
||||
public val x = new InnerDerived()
|
||||
public val x = InnerDerived()
|
||||
}
|
||||
|
||||
fun box() {
|
||||
val o = new Outer()
|
||||
val o = Outer()
|
||||
return if (o.x.name != "xyzzy") "fail" else "OK"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user