diff options
| author | hallgren <hallgren@chalmers.se> | 2014-04-04 13:51:07 +0000 |
|---|---|---|
| committer | hallgren <hallgren@chalmers.se> | 2014-04-04 13:51:07 +0000 |
| commit | c58649bd2972dc088962e87db8ced25e0773dea7 (patch) | |
| tree | 7cfe13fc9d7b6122afe1b56b4b683f8086bfce0d /examples | |
| parent | 898654116070077e15ba3c3a30f8f22ab57d91e3 (diff) | |
Removed imports of TypeCheck.Concrete, fixed problems in TypeCheck.RConcrete
+ The current type checker for concrete syntax is in
GF.Compile.TypeCheck.RConcrete, but GF.Compile.TypeCheck.Concrete was
still imported in GFI.
+ Fixed a bug that allowed Ints n as a subtype of Ints m, regardless of
m and n. It now requires n<=m. Note: the type checker still allows Int
as a subtype of Ints m, regardless of m.
+ Fixed a potential efficiency problem with large record types, by reducing
the number of recursive calls from |R|*|S| to |R| when checking if R<=S.
+ Fixed a misleading comment: "alpha g t u" checks that u is a subtype of t,
the other way around. Similarly, "checkIfEqLType gr g t u trm" checks that
u is a subtype of t, not the other way around, and not that t is equal to u.
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions
