[FIR] Print operator keyword and token to unresolved diagnostic message
#KT-55672 Fixed
This commit is contained in:
committed by
Space Team
parent
85bb7faf10
commit
c30ce4aabe
@@ -98,4 +98,19 @@ object OperatorNameConventions {
|
||||
|
||||
@JvmField
|
||||
val STATEMENT_LIKE_OPERATORS = setOf(SET) + ASSIGNMENT_OPERATIONS
|
||||
|
||||
val TOKENS_BY_OPERATOR_NAME = mapOf(
|
||||
INC to "++",
|
||||
DEC to "--",
|
||||
UNARY_PLUS to "+",
|
||||
UNARY_MINUS to "-",
|
||||
NOT to "!",
|
||||
TIMES to "*",
|
||||
PLUS to "+",
|
||||
MINUS to "-",
|
||||
DIV to "/",
|
||||
REM to "%",
|
||||
RANGE_TO to "..",
|
||||
RANGE_UNTIL to "..<",
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user