Skip to content

Commit

Permalink
fix [assign]: Fixed empty assignment
Browse files Browse the repository at this point in the history
  • Loading branch information
vihanb committed Aug 11, 2016
1 parent b7c4d67 commit 2715c2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/interpreter/states/assign.es6
Expand Up @@ -60,7 +60,7 @@ export default class CheddarAssign {
);
}
else {
res = this.scope.manage(this.assignl.tok(0),
res = this.scope.manage(varname,
new CheddarVariable(new NIL, {
Writeable: this.assignt !== "const",
StrictType: stricttype
Expand Down

0 comments on commit 2715c2d

Please sign in to comment.