snirk-lang / protosnirk

The beginnings of a programming language
MIT License
1 stars 1 forks source link

`typedef` names are not properly added during first pass #73

Open SnirkImmington opened 6 years ago

SnirkImmington commented 6 years ago

Compiling the code

typedef Foo = Bar
typedef Bar = float

and checking for which stage emits errors (in the integration-testing branch) gives the error "Unknown type Foo."

It looks like I need to make sure there's an early pass to add new type name idents.

SnirkImmington commented 5 years ago

I'm removing this from protosnirk 0.0.2. I think I've done enough integration testing right now to isolate important issues (the fibonacci example works again, basic LLVM issues done) and I'd like to organize future "sprints."