namin/lms-sandbox — comment on commit 70e4617543074a17b226b85f296e04d97ccfa651
File:  line 0
By namin:

Getting rid of the spurious function is not enough.... we need to bind the `this`:
```
function main(x0) {
var x3 = function() {
var x4 = this.v
return x4
}
var x9 = function() {
this.$init$()
}
x9.prototype.$init$ = function() {
var x1 = this.v = 1
return null
}
x9.prototype.produce = function() {
var x8 = x3.bind(this)
return x8
}
var x10 = new x9()
var x11 = x10.produce()
var x12 = x11()
return x12
}
```

@gkossakowski