Minor. Reformat
This commit is contained in:
@@ -60,15 +60,18 @@ class JvmBackendContext(
|
|||||||
|
|
||||||
override val ThrowNullPointerException
|
override val ThrowNullPointerException
|
||||||
get () = symbolTable.referenceSimpleFunction(
|
get () = symbolTable.referenceSimpleFunction(
|
||||||
context.getInternalFunctions("ThrowNullPointerException").single())
|
context.getInternalFunctions("ThrowNullPointerException").single()
|
||||||
|
)
|
||||||
|
|
||||||
override val ThrowNoWhenBranchMatchedException
|
override val ThrowNoWhenBranchMatchedException
|
||||||
get () = symbolTable.referenceSimpleFunction(
|
get () = symbolTable.referenceSimpleFunction(
|
||||||
context.getInternalFunctions("ThrowNoWhenBranchMatchedException").single())
|
context.getInternalFunctions("ThrowNoWhenBranchMatchedException").single()
|
||||||
|
)
|
||||||
|
|
||||||
override val ThrowTypeCastException
|
override val ThrowTypeCastException
|
||||||
get () = symbolTable.referenceSimpleFunction(
|
get () = symbolTable.referenceSimpleFunction(
|
||||||
context.getInternalFunctions("ThrowTypeCastException").single())
|
context.getInternalFunctions("ThrowTypeCastException").single()
|
||||||
|
)
|
||||||
|
|
||||||
override val ThrowUninitializedPropertyAccessException
|
override val ThrowUninitializedPropertyAccessException
|
||||||
get () = symbolTable.referenceSimpleFunction(
|
get () = symbolTable.referenceSimpleFunction(
|
||||||
@@ -110,8 +113,10 @@ class JvmBackendContext(
|
|||||||
override fun getInternalFunctions(name: String): List<FunctionDescriptor> {
|
override fun getInternalFunctions(name: String): List<FunctionDescriptor> {
|
||||||
return when (name) {
|
return when (name) {
|
||||||
"ThrowUninitializedPropertyAccessException" ->
|
"ThrowUninitializedPropertyAccessException" ->
|
||||||
getInternalClass("Intrinsics").staticScope.
|
getInternalClass("Intrinsics").staticScope.getContributedFunctions(
|
||||||
getContributedFunctions(Name.identifier("throwUninitializedPropertyAccessException"), NoLookupLocation.FROM_BACKEND).toList()
|
Name.identifier("throwUninitializedPropertyAccessException"),
|
||||||
|
NoLookupLocation.FROM_BACKEND
|
||||||
|
).toList()
|
||||||
else -> TODO(name)
|
else -> TODO(name)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user