dynamic is not a keyword on the left-hand side of callable references
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
dynamic class dynamic<dynamic>(dynamic: dynamic) : dynamic {
|
||||
[dynamic] fun dynamic() {
|
||||
val dynamic = 1
|
||||
dynamic::foo
|
||||
}
|
||||
}
|
||||
@@ -71,6 +71,15 @@ JetFile: DynamicSoftKeyword.kt
|
||||
PsiWhiteSpace(' ')
|
||||
INTEGER_CONSTANT
|
||||
PsiElement(INTEGER_LITERAL)('1')
|
||||
PsiWhiteSpace('\n ')
|
||||
CALLABLE_REFERENCE_EXPRESSION
|
||||
TYPE_REFERENCE
|
||||
USER_TYPE
|
||||
REFERENCE_EXPRESSION
|
||||
PsiElement(IDENTIFIER)('dynamic')
|
||||
PsiElement(COLONCOLON)('::')
|
||||
REFERENCE_EXPRESSION
|
||||
PsiElement(IDENTIFIER)('foo')
|
||||
PsiWhiteSpace('\n ')
|
||||
PsiElement(RBRACE)('}')
|
||||
PsiWhiteSpace('\n')
|
||||
|
||||
Reference in New Issue
Block a user