Rename Unary(Binary)OperationKey

This commit is contained in:
Natalia Ukhorskaya
2013-11-19 14:41:30 +04:00
parent 0bf7b60382
commit 9593edc6e7
2 changed files with 51 additions and 4 deletions
@@ -67,7 +67,7 @@ fun generate(): String {
}
}
p.println("private val unaryOperations = hashMapOf<UnaryOperation<*>, (Any?) -> Any>(")
p.println("private val unaryOperations = hashMapOf<UnaryOperationKey<*>, (Any?) -> Any>(")
p.pushIndent()
val unaryOperationsMapIterator = unaryOperationsMap.iterator()
@@ -91,7 +91,7 @@ fun generate(): String {
p.println()
p.println("private val binaryOperations = hashMapOf<BinaryOperation<*, *>, (Any?, Any?) -> Any>(")
p.println("private val binaryOperations = hashMapOf<BinaryOperationKey<*, *>, (Any?, Any?) -> Any>(")
p.pushIndent()
val binaryOperationsMapIterator = binaryOperationsMap.iterator()