blob: 81f64f645ef080249abde6c5622c4072db08260d [file] [log] [blame]
class X {
def setX(int x) {}
private y;
}
class Y extends X {
double a;
}
print new Y(x: 5, y: new Object(), a: 5.8);
print new Y([x: 5])
print new Y(x: 5)
print new Y<warning descr="Cannot apply default constructor for class 'Y'">([x: 5],y: 5)</warning>