Change parseCharacter visibility to be visible from lightTree module
This commit is contained in:
committed by
Mikhail Glukhikh
parent
b0a04b1061
commit
8bcea1cf85
@@ -35,7 +35,7 @@ import org.jetbrains.kotlin.resolve.constants.evaluate.*
|
|||||||
import org.jetbrains.kotlin.types.expressions.OperatorConventions
|
import org.jetbrains.kotlin.types.expressions.OperatorConventions
|
||||||
import org.jetbrains.kotlin.util.OperatorNameConventions
|
import org.jetbrains.kotlin.util.OperatorNameConventions
|
||||||
|
|
||||||
internal fun String.parseCharacter(): Char? {
|
fun String.parseCharacter(): Char? {
|
||||||
// Strip the quotes
|
// Strip the quotes
|
||||||
if (length < 2 || this[0] != '\'' || this[length - 1] != '\'') {
|
if (length < 2 || this[0] != '\'' || this[length - 1] != '\'') {
|
||||||
return null
|
return null
|
||||||
|
|||||||
Reference in New Issue
Block a user