DynamoDS/Dynamo — pull request #2150 by ke-yu (2014-08-13 09:21:10+00:00)
Title: Remove redundant ast assignment

This pull request is part of the fix for [MAGN-4100](http://adsk-oss.myjetbrains.com/youtrack/issue/MAGN-4100#):

* A self assignment (e.g., ``var_1 = var_1;`` is generated in AST compilation. This kind of assignment which remove all dependencies on variable so that update stops working. Although essentially it is a language issue, rightnow the workaround is to remove this kind of assignment from AST nodes.
* For Watch node, in AST compilation there are two assignments are created. One is calling ``VMDataBridge.DataBridge()`` to register a callback in the VM, and assigning the return value to this variable. The other statement assigns input variable to this variable. The latter one removes previous dependency. So the fix is to assign ``VMDataBridge.DataBridge()`` to a dummy variable.