mnbujold / c415-compiler

Fall 2012 CMPUT 415 Compiler Course
0 stars 3 forks source link

using a type definition right after it is defined will give an error #21

Closed dchui1 closed 11 years ago

dchui1 commented 11 years ago

type a = blah blah blah b = array [a] gives an error This is probably because of how compiler.y reduces the rules

James-Osgood commented 11 years ago

I think this was just an issue in 1.pal and should be resolved since the types are now correctly checked and added to the symbol table.