Removed invoke symbol.
h3rald h3rald@h3rald.com
Sat, 26 Oct 2024 20:26:10 +0200
3 files changed,
5 insertions(+),
20 deletions(-)
M
minpkg/lib/min_global.nim
→
minpkg/lib/min_global.nim
@@ -788,25 +788,6 @@ i.push sym.val
else: raiseInvalid("Unable to display source: '$1' is an operator." % str) - def.symbol("invoke") do (i: In): - let vals = i.expect("'sym") - let s = vals[0].getString - let parts = s.split("/") - if parts.len < 2: - raiseInvalid("Dictionary identifier not specified") - i.pushSym parts[0] - for p in 0..parts.len-2: - let vals = i.expect("dict") - let mdl = vals[0] - let symId = parts[p+1] - let origScope = i.scope - i.scope = mdl.scope - if not i.scope.parent.isNil: - i.scope.parent = origScope - let sym = i.scope.getSymbol(symId) - i.apply(sym) - i.scope = origScope - def.symbol("raise") do (i: In): let vals = i.expect("dict") let err = vals[0]
M
next-release.md
→
next-release.md
@@ -1,3 +1,7 @@
+### BREAKING CHANGES + +* Actually removed the `invoke` symbol that was supposed to be removed in v0.44.0 but didn't. + ### Fixes and Improvements * Implemented `define-sigil` (was documented but not actually implemented).