Cleanup: val can be parameter
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user