weiroll / weiroll.js

A high-level javascript transpiler for weiroll
https://weiroll.github.io/weiroll.js/
MIT License
53 stars 10 forks source link

Make return values include a reference to the planner #1

Closed Arachnid closed 3 years ago

Arachnid commented 3 years ago

So that we can prevent someone from accidentally passing a return value from something on one planner to the input of a function used in a different planner. Is there some way we can do this without introducing a circular dependency between contracts.ts and planner.ts?

Arachnid commented 3 years ago

Fixed by moving everything into the same typescript file and adding this check.