drop deprecated syntax for anonymous initializer blocks
This commit is contained in:
@@ -17,7 +17,7 @@ class Foo {
|
||||
foo bar(1) buzz<T>(1) zoo var v : Int = 0
|
||||
foo bar(1) buzz<T>(1) zoo typealias T = Int
|
||||
|
||||
foo bar(1) buzz<T>(1) zoo {}
|
||||
foo bar(1) buzz<T>(1) zoo init {}
|
||||
}
|
||||
|
||||
fun test() {
|
||||
|
||||
@@ -896,6 +896,8 @@ JetFile: ShortAnnotations.kt
|
||||
REFERENCE_EXPRESSION
|
||||
PsiElement(IDENTIFIER)('zoo')
|
||||
PsiWhiteSpace(' ')
|
||||
PsiElement(init)('init')
|
||||
PsiWhiteSpace(' ')
|
||||
BLOCK
|
||||
PsiElement(LBRACE)('{')
|
||||
PsiElement(RBRACE)('}')
|
||||
|
||||
Reference in New Issue
Block a user