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
@@ -9,7 +9,7 @@ open class Buildable {
class List<T> {
class object : Buildable {
default object : Buildable {
override fun newBuilder<E, R>() : Builder<E, R>
}
@@ -132,7 +132,8 @@ JetFile: PolymorphicClassObjects.kt
PsiElement(LBRACE)('{')
PsiWhiteSpace('\n\n ')
OBJECT_DECLARATION
PsiElement(class)('class')
MODIFIER_LIST
PsiElement(default)('default')
PsiWhiteSpace(' ')
PsiElement(object)('object')
PsiWhiteSpace(' ')
@@ -1,5 +1,5 @@
class Pair(x : Int, y : Int) {
class object {
default object {
fun copy(from : Pair, x : Int = from.x, y : Int = from.y) = Pair(x, y)
}
}
@@ -33,7 +33,8 @@ JetFile: UpdateOperation.kt
PsiElement(LBRACE)('{')
PsiWhiteSpace('\n ')
OBJECT_DECLARATION
PsiElement(class)('class')
MODIFIER_LIST
PsiElement(default)('default')
PsiWhiteSpace(' ')
PsiElement(object)('object')
PsiWhiteSpace(' ')