shithub: MicroHs

Download patch

ref: 2ee630ff1f9883bb11966415202b4beceac9a04c
parent: ed69939b07b0ac075d3bf884c7a1c5ce94abbe35
author: Lennart Augustsson <lennart.augustsson@epicgames.com>
date: Sat Aug 17 15:47:21 EDT 2024

Better type.

--- a/src/MicroHs/TCMonad.hs
+++ b/src/MicroHs/TCMonad.hs
@@ -74,7 +74,7 @@
 -- All known type equalities, contains the transitive&commutative closure.
 type TypeEqTable = [(EType, EType)]
 
-type ClassInfo = ([IdKind], [EConstraint], EType, [Ident], [IFunDep])  -- class tyvars, superclasses, class kind, methods, fundeps
+type ClassInfo = ([IdKind], [EConstraint], EKind, [Ident], [IFunDep])  -- class tyvars, superclasses, class kind, methods, fundeps
 type IFunDep = ([Bool], [Bool])           -- the length of the lists is the number of type variables
 
 -----------------------------------------------
--