rainforestapp / decaf

Coffeescript to ES.next transpiler. Now maintained over at
https://github.com/juliankrispel/decaf
MIT License
106 stars 10 forks source link

Destructuring into this doesn't work #87

Closed bouk closed 8 years ago

bouk commented 8 years ago

Input:

{@a, @b} = @options

Output:

{
  this,
  this
} = this.options;

Expected output:

this.a = this.options.a;
this.b = this.options.b;