
13 Dec
2000
13 Dec
'00
2:55 a.m.
reid 2000/12/12 23:55:34 PST Modified files: src type.c Log: [Copied a trick I used in STG-Hugs back into Classic Hugs.] Added link{Name,Class,Tycon} which looks up a string and reports an error if it doesn't find it. Used for finding builtin constructors, classes, etc. in the typechecker. This change makes the code more readable, more robust, shorter and gives better error messages. Win, win, win, win. Revision Changes Path 1.26 +87 -112 hugs98/src/type.c