correctly handle ensureReceiverOnStack() when the expression is itself a receiver; use correct type when putting/storing fields

This commit is contained in:
Dmitry Jemerov
2011-05-27 19:03:11 +04:00
parent 9969b8d7a4
commit 78247520c7
5 changed files with 39 additions and 10 deletions
@@ -0,0 +1,6 @@
class Evaluator(val expr: StringBuilder) {
fun evaluateArg(): Int {
return expr.length()
}
}