Replace 'class object' with 'default object' in renderers and test data

Includes changes to decompiled text
Old syntax is used in builtins and project code for now
This commit is contained in:
Pavel V. Talanov
2015-03-06 12:51:59 +03:00
parent 28ed30bcb3
commit 59f192ef90
794 changed files with 1120 additions and 1109 deletions
@@ -20,7 +20,7 @@ public class X(bar: String? = A.BAR): A() {
super<A>.foo()
}
class object: A() {
default object: A() {
}
}
@@ -12,7 +12,7 @@ Parameter type (10: 16) fun foo(a: A) {
Parameter type (32: 14) fun X.bar(a: A = A()) {
Super type qualifier (20: 15) super<A>.foo()
Supertype (1: 39) public class X(bar: String? = A.BAR): A() {
Supertype (23: 19) class object: A() {
Supertype (23: 21) default object: A() {
Supertype (28: 11) object O: A() {
Target type of 'is' operation (37: 24) return if (this is A) this as A else null
Usage in cast target type (37: 35) return if (this is A) this as A else null
@@ -20,7 +20,7 @@ public class X(bar: String? = A.BAR): A() {
super<A>.foo()
}
class object: A() {
default object: A() {
}
}
@@ -20,7 +20,7 @@ public class X(bar: String? = A.BAR): A() {
super<A>.foo()
}
class object: A() {
default object: A() {
}
}
@@ -3,5 +3,5 @@ Function call (7: 11) A.foos()
New instance creation (2: 20) var next: A? = A()
New instance creation (32: 18) fun X.bar(a: A = A()) {
Supertype (1: 39) public class X(bar: String? = A.BAR): A() {
Supertype (23: 19) class object: A() {
Supertype (23: 21) default object: A() {
Supertype (28: 11) object O: A() {
@@ -20,7 +20,7 @@ public class X(bar: String? = A.BAR): A() {
super<A>.foo()
}
class object: A() {
default object: A() {
}
}
@@ -12,7 +12,7 @@ Parameter type (10: 16) fun foo(a: A) {
Parameter type (32: 14) fun X.bar(a: A = A()) {
Super type qualifier (20: 15) super<A>.foo()
Supertype (1: 39) public class X(bar: String? = A.BAR): A() {
Supertype (23: 19) class object: A() {
Supertype (23: 21) default object: A() {
Supertype (28: 11) object O: A() {
Target type of 'is' operation (37: 24) return if (this is A) this as A else null
Usage in cast target type (37: 35) return if (this is A) this as A else null
@@ -20,7 +20,7 @@ public class X(bar: String? = Outer.A.BAR): Outer.A() {
super<Outer.A>.foo()
}
class object: Outer.A() {
default object: Outer.A() {
}
}
@@ -12,7 +12,7 @@ Parameter type (10: 22) fun foo(a: Outer.A) {
Parameter type (32: 20) fun X.bar(a: Outer.A = Outer.A()) {
Super type qualifier (20: 21) super<Outer.A>.foo()
Supertype (1: 51) public class X(bar: String? = Outer.A.BAR): Outer.A() {
Supertype (23: 25) class object: Outer.A() {
Supertype (23: 27) default object: Outer.A() {
Supertype (28: 17) object O: Outer.A() {
Target type of 'is' operation (37: 30) return if (this is Outer.A) this as Outer.A else null
Usage in cast target type (37: 47) return if (this is Outer.A) this as Outer.A else null