compiler testdata: s/trait/interface

This commit is contained in:
Dmitry Jemerov
2015-05-12 12:38:49 +02:00
parent a5ed5d4269
commit 4bdf598bfe
803 changed files with 1456 additions and 1456 deletions
+1 -1
View File
@@ -33,7 +33,7 @@ object A {
companion object
}
trait A {
interface A {
companion object
class C {
+1 -1
View File
@@ -158,7 +158,7 @@ JetFile: DefaultKeyword.kt
PsiElement(RBRACE)('}')
PsiWhiteSpace('\n\n')
CLASS
PsiElement(trait)('trait')
PsiElement(interface)('interface')
PsiWhiteSpace(' ')
PsiElement(IDENTIFIER)('A')
PsiWhiteSpace(' ')
+2 -2
View File
@@ -1,2 +1,2 @@
trait TestTrait(val a: Int, var b: String, c: Double)
trait TestTrait()
interface TestTrait(val a: Int, var b: String, c: Double)
interface TestTrait()
+2 -2
View File
@@ -2,7 +2,7 @@ JetFile: TraitConstructor.kt
PACKAGE_DIRECTIVE
<empty list>
CLASS
PsiElement(trait)('trait')
PsiElement(interface)('interface')
PsiWhiteSpace(' ')
PsiElement(IDENTIFIER)('TestTrait')
PRIMARY_CONSTRUCTOR
@@ -43,7 +43,7 @@ JetFile: TraitConstructor.kt
PsiElement(RPAR)(')')
PsiWhiteSpace('\n')
CLASS
PsiElement(trait)('trait')
PsiElement(interface)('interface')
PsiWhiteSpace(' ')
PsiElement(IDENTIFIER)('TestTrait')
PRIMARY_CONSTRUCTOR
@@ -10,4 +10,4 @@ fun func() {}
class C
[file:]
trait T
interface T
@@ -88,6 +88,6 @@ JetFile: fileAnnotationInWrongPlace.kt
<empty list>
PsiElement(RBRACKET)(']')
PsiWhiteSpace('\n')
PsiElement(trait)('trait')
PsiElement(interface)('interface')
PsiWhiteSpace(' ')
PsiElement(IDENTIFIER)('T')