Fix the result-binding in compiler

When destructuring and a result binding was used, the compiler
incorrectly assigned the result-binding from the implicit 'this
binding (which didn't exist).
Merge pull request #49 from palletops/feature/fix-result-binding

Fix the result-binding in compiler