Exclude local variables and try catch blocks of non-inline functions from ABI
This commit is contained in:
@@ -1,3 +1,10 @@
|
||||
package test
|
||||
|
||||
fun sum(x: Int, y: Int): Int = x + y
|
||||
fun sum(x: Int, y: Int): Int =
|
||||
try {
|
||||
var result = x
|
||||
result += y
|
||||
result
|
||||
} finally {
|
||||
// do nothing
|
||||
}
|
||||
Reference in New Issue
Block a user