Generate linenumber if needed after inlining

This commit is contained in:
Michael Bogdanov
2015-03-24 12:48:50 +03:00
parent 8cd496556c
commit c582b1d9ce
12 changed files with 399 additions and 2 deletions
@@ -8,8 +8,8 @@ inline fun initTag2(init: () -> Unit) {
val p = 1;
init()
}
inline fun head(init: () -> Unit) = initTag2(init)
//{val p = initTag2(init); return p} to remove difference in linenumber processing through MethodNode and MethodVisitor should be: = initTag2(init)
inline fun head(init: () -> Unit) {val p = initTag2(init); return p}
inline fun html(init: () -> Unit) {