Cleanup: val can be parameter

This commit is contained in:
Mikhail Glukhikh
2016-05-18 18:21:14 +03:00
parent b86fb64008
commit ebd57fafd7
17 changed files with 20 additions and 20 deletions
@@ -249,7 +249,7 @@ class NumberCompare(
}
class ObjectCompare(
val opToken: IElementType,
opToken: IElementType,
operandType: Type,
left: StackValue,
right: StackValue
@@ -46,7 +46,7 @@ class MultifileClassPartCodegen(
private val packageFragment: PackageFragmentDescriptor,
private val superClassInternalName: String,
private val shouldGeneratePartHierarchy: Boolean,
private val partContext: MultifileClassPartContext,
partContext: MultifileClassPartContext,
state: GenerationState
) : MemberCodegen<KtFile>(state, null, partContext, file, v) {
private val partType = partContext.filePartType
@@ -59,7 +59,7 @@ class StackValueWithLeaveTask(
}
}
open class OperationStackValue(val resultType: Type, val lambda: (v: InstructionAdapter) -> Unit) : StackValue(resultType) {
open class OperationStackValue(resultType: Type, val lambda: (v: InstructionAdapter) -> Unit) : StackValue(resultType) {
override fun putSelector(type: Type, v: InstructionAdapter) {
lambda(v)