add type analysis for consts

- add the basics of recursive type resolving for expressions
 - set err context for enum
This commit is contained in:
Luna 2019-09-25 14:34:32 -03:00
parent 1040eef79f
commit cb8908dc80
6 changed files with 142 additions and 12 deletions

View file

@ -1,5 +1,9 @@
// import std;
const (
AWOO = 1 + 2
)
enum B {
a
b