Multiple fixes of JS source maps
- elvis expression with complex RHS - destructuring declarations - decomposition of `var` statement (for example, in case of inline destructuring functions) - `is` LHS &&/|| inline fun RHS - argument assignment to temporary var on inline call site - assignment of `next()` result to temporary var in `for` expression - rethrow statement in exception handler
This commit is contained in:
+12
@@ -0,0 +1,12 @@
|
||||
var log = ""
|
||||
|
||||
fun box(x: String?) {
|
||||
log +=
|
||||
x
|
||||
?:
|
||||
try { foo() } finally { log += "finally" }
|
||||
}
|
||||
|
||||
fun foo() = "bar"
|
||||
|
||||
// LINES: 8 7 7 4 4 4 5 5 7 7 7 7 * 5 4 5 10 10 10 * 1 * 1
|
||||
Reference in New Issue
Block a user