squint-cljs / cherry

Experimental ClojureScript to ES6 module compiler
https://squint-cljs.github.io/cherry
558 stars 22 forks source link

Add support for IReset and ISwap #134

Closed ranfdev closed 5 months ago

ranfdev commented 5 months ago

fixes #132. The solution you provided for IDeref works, so I extended it to ISwap and IReset as well

borkdude commented 5 months ago

Some additional tests may be worth it still, in case another solution comes around which changes the "TODO" hack

borkdude commented 5 months ago

I'll include those tests myself and will publish an update. Thanks for the PR!