@@ -443,14 +443,14 @@ addExport info (Module n c us as_ vs bs) (name, A.At region export) =
443 Result.ok $ Module n c us newAliases vs bs
443 Result.ok $ Module n c us newAliases vs bs
445 Can.ExportUnionOpen ->
445 Can.ExportUnionOpen ->
446− do let (Can.Union tvars ctors) = _iUnions info ! name
446+ do let (Can.Union tvars ctors _ _) = _iUnions info ! name
447 comment <- getComment region name info
447 comment <- getComment region name info
449 let newUnions = Map.insert name (Union comment tvars (map dector ctors)) us
449 let newUnions = Map.insert name (Union comment tvars (map dector ctors)) us
450 Result.ok $ Module n c newUnions as_ vs bs
450 Result.ok $ Module n c newUnions as_ vs bs
452 Can.ExportUnionClosed ->
452 Can.ExportUnionClosed ->
453− do let (Can.Union tvars _) = _iUnions info ! name
453+ do let (Can.Union tvars _ _ _) = _iUnions info ! name
454 comment <- getComment region name info
454 comment <- getComment region name info
456 let newUnions = Map.insert name (Union comment tvars []) us
456 let newUnions = Map.insert name (Union comment tvars []) us
@@ -480,8 +480,8 @@ getType name info =
480 Result.ok (Extract.fromType tipe)
480 Result.ok (Extract.fromType tipe)
483−dector :: (N.Name, [Can.Type]) -> (N.Name, [Type.Type])
483+dector :: Can.Ctor -> (N.Name, [Type.Type])
484−dector (name, args) =
484+dector (Can.Ctor name _ _ args) =
485 ( name, map Extract.fromType args )
485 ( name, map Extract.fromType args )