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:
@@ -0,0 +1,14 @@
|
||||
var log = ""
|
||||
|
||||
fun box(a: Any) {
|
||||
if (a is String && foo()) {
|
||||
log += "OK"
|
||||
}
|
||||
}
|
||||
|
||||
inline fun foo(): Boolean {
|
||||
log += "foo"
|
||||
return true
|
||||
}
|
||||
|
||||
// LINES: 7 4 4 4 10 10 4 11 4 5 5 12 10 10 11 11 * 1 * 1
|
||||
Reference in New Issue
Block a user