Fixes.
h3rald h3rald@h3rald.com
Mon, 28 Dec 2020 17:29:02 +0100
2 files changed,
7 insertions(+),
5 deletions(-)
M
lib/min_lang.nim
→
lib/min_lang.nim
@@ -231,7 +231,6 @@ else:
inExpects.add v else: if v[0] != ':': - echo v raiseInvalid("No mapping symbol specified in signature at position $#" % $(c+1)) else: if o:@@ -558,12 +557,14 @@ let s = vals[0].getString
let parts = s.split("/") if parts.len < 2: raiseInvalid("Dictionary identifier not specified") - var mdlId = parts[0] - i.push mdlId.newSym for p in 0..parts.len-2: + let mdlId = parts[p] let symId = parts[p+1] - i.push symId.newVal - i.push "dget".newSym + var q = newSeq[MinValue](0) + q.add symId.newSym + i.push q.newVal + i.push mdlId.newSym + i.push "with".newSym def.symbol("set-type") do (i: In): let vals = i.expect("'sym", "dict")
M
next-release.md
→
next-release.md
@@ -1,3 +1,4 @@
* **REMOVED** support for creating dynamic libraries (it never worked properly anyway) * Added **operator** symbol to define symbols and sigils in a more controlled way. * Added **expect-all** and **expect-any** symbols. +* Fixed behavior of **require** and **invoke** ensuring that operators are evaluated in the correct scopes.