lang, lang: types: Add automatic stringer generation

It's more useful if we know the string representation of Kind's.
This commit is contained in:
James Shubin
2019-04-27 16:14:10 -04:00
parent 310239e707
commit 2f7e202f40
7 changed files with 39 additions and 5 deletions

View File

@@ -1 +1 @@
# err: err3: can't unify, invariant illogicality with equality: base kind does not match (2 != 3)
# err: err3: can't unify, invariant illogicality with equality: base kind does not match (Str != Int)

View File

@@ -1 +1 @@
# err: err3: can't unify, invariant illogicality with equals: base kind does not match (2 != 5)
# err: err3: can't unify, invariant illogicality with equals: base kind does not match (Str != List)