miniscript icon indicating copy to clipboard operation
miniscript copied to clipboard

some small tweaks

Open symful opened this issue 1 year ago • 1 comments

In regards of #185

symful avatar Sep 21 '24 18:09 symful

Explanations from top to bottom:

  1. Let BindAndCopy overrideable by giving it virtual to let developers make functions perm-binded
  2. Set nextContext.outerVars to the function's outerVars in ManuallyPushCall so the function won't lose variables outside of its scope. Useful if the function is from the MiniScript code and the function uses variables outside of its scope.
  3. Check temps size before fetch the index to not error'd

symful avatar Sep 25 '24 14:09 symful