type unescaped in *.kt files
This commit is contained in:
@@ -48,7 +48,7 @@ class PlatformStaticGenerator(
|
||||
val iv = InstructionAdapter(methodVisitor)
|
||||
val classDescriptor = descriptor.getContainingDeclaration() as ClassDescriptor
|
||||
val singletonValue = StackValue.singleton(classDescriptor, typeMapper)!!
|
||||
singletonValue.put(singletonValue.`type`, iv);
|
||||
singletonValue.put(singletonValue.type, iv);
|
||||
var index = 0;
|
||||
for (paramType in asmMethod.getArgumentTypes()) {
|
||||
iv.load(index, paramType);
|
||||
|
||||
@@ -33,7 +33,7 @@ trait IntervalWithHandler {
|
||||
val startLabel: LabelNode
|
||||
val endLabel: LabelNode
|
||||
val handler: LabelNode
|
||||
val `type`: String?
|
||||
val type: String?
|
||||
}
|
||||
|
||||
class TryCatchBlockNodeInfo(val node: TryCatchBlockNode, val onlyCopyNotProcess: Boolean) : IntervalWithHandler {
|
||||
@@ -44,15 +44,15 @@ class TryCatchBlockNodeInfo(val node: TryCatchBlockNode, val onlyCopyNotProcess:
|
||||
get() = node.end
|
||||
override val handler: LabelNode
|
||||
get() = node.handler!!
|
||||
override val `type`: String?
|
||||
get() = node.`type`
|
||||
override val type: String?
|
||||
get() = node.type
|
||||
}
|
||||
|
||||
class TryCatchBlockNodePosition(val nodeInfo: TryCatchBlockNodeInfo, var position: TryCatchPosition): IntervalWithHandler by nodeInfo
|
||||
|
||||
class TryBlockCluster<T : IntervalWithHandler>(val blocks: MutableList<T>) {
|
||||
val defaultHandler: T?
|
||||
get() = blocks.firstOrNull() { it.`type` == null }
|
||||
get() = blocks.firstOrNull() { it.type == null }
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user