Fix symbol delegate after build work-around for https://youtrack.jetbrains.com/issue/KT-4012

This commit is contained in:
Alexander Nozik 2021-02-01 12:58:56 +03:00
parent 8f101c5cd0
commit cde9d85a96

View File

@ -95,7 +95,7 @@ public fun <T, E> ExpressionAlgebra<T, E>.bind(symbol: Symbol): E =
/**
* A delegate to create a symbol with a string identity in this scope
*/
public val symbol: ReadOnlyProperty<Any?, Symbol> = ReadOnlyProperty { thisRef, property ->
public val symbol: ReadOnlyProperty<Any?, Symbol> = ReadOnlyProperty { _, property ->
StringSymbol(property.name)
}