@@ -443,14 +443,14 @@ addExport info (Module n c us as_ vs bs) (name, A.At region export) =
443443 Result.ok $ Module n c us newAliases vs bs
444444
445445 Can.ExportUnionOpen ->
446− do let (Can.Union tvars ctors) = _iUnions info ! name
446+ do let (Can.Union tvars ctors _ _) = _iUnions info ! name
447447 comment <- getComment region name info
448448
449449 let newUnions = Map.insert name (Union comment tvars (map dector ctors)) us
450450 Result.ok $ Module n c newUnions as_ vs bs
451451
452452 Can.ExportUnionClosed ->
453− do let (Can.Union tvars _) = _iUnions info ! name
453+ do let (Can.Union tvars _ _ _) = _iUnions info ! name
454454 comment <- getComment region name info
455455
456456 let newUnions = Map.insert name (Union comment tvars []) us
@@ -480,8 +480,8 @@ getType name info =
480480 Result.ok (Extract.fromType tipe)
481481
482482
483−dector :: (N.Name, [Can.Type]) -> (N.Name, [Type.Type])
484−dector (name, args) =
483+dector :: Can.Ctor -> (N.Name, [Type.Type])
484+dector (Can.Ctor name _ _ args) =
485485 ( name, map Extract.fromType args )
486486
487487