Fixed generics in type unions.
h3rald h3rald@h3rald.com
Mon, 18 Jan 2021 20:55:50 +0100
6 files changed,
8 insertions(+),
17 deletions(-)
M
min.nims
→
min.nims
@@ -1,11 +1,9 @@
-# https", //blog.filippo.io/easy-windows-and-linux-cross-compilers-for-macos/ +# https://blog.filippo.io/easy-windows-and-linux-cross-compilers-for-macos/ -# https", //gist.github.com/Drakulix/9881160 switch("amd64.windows.gcc.path", "/usr/local/bin") switch("amd64.windows.gcc.exe", "x86_64-w64-mingw32-gcc") switch("amd64.windows.gcc.linkerexe", "x86_64-w64-mingw32-gcc") -# http", //crossgcc.rts-software.org/doku.php?id=compiling_for_linux switch("amd64.linux.gcc.path", "/usr/local/bin") switch("amd64.linux.gcc.exe", "x86_64-linux-musl-gcc") switch("amd64.linux.gcc.linkerexe", "x86_64-linux-musl-gcc")
M
minpkg/core/utils.nim
→
minpkg/core/utils.nim
@@ -241,7 +241,7 @@ return true
if i.scope.hasSymbol("type:$#" % s): return true for tt in s.split("|"): - if not ts.contains(tt) or tt.startsWith("dict:"): + if not ts.contains(tt) and not tt.startsWith("dict:") and not i.scope.hasSymbol("type:$#" % tt): return false return true
M
next-release.md
→
next-release.md
@@ -1,9 +1,1 @@
-* Added **dsinit!** symbol. -* Added **sealed?** and **sealed-sigil?** symbols. -+ **floor** and **ceil** now correctly return an integer again. -* Added **abs** symbol. -* Now executing min shell if no file is specified (unless input is piped in), without the need of specifying **-i**. -* Implemented the possibility to define type classes using the **typeclass** symbol. -* Added **stringlike?** symbol. -* Implemented support for generics in operator signatures -* Now listing what items are polluting the stack. +* Fixes #98.
M
site/settings.json
→
site/settings.json
@@ -6,5 +6,5 @@ "rules": "rules.min",
"temp": "temp", "templates": "templates", "title": "min language", - "version": "0.29.0" -} + "version": "0.29.1" +}