UCSD-PL / refscript

Refinement Types for Scripting Languages
BSD 3-Clause "New" or "Revised" License
65 stars 3 forks source link

+= ++ interaction #120

Open BenjaminCosman opened 9 years ago

BenjaminCosman commented 9 years ago

See:

https://github.com/UCSD-PL/RefScript/blob/master/tests/todo/compound-assignment-operator.ts

Easy workaround: move ++ outside of complex expressions.