@@ -1164,116 +1164,134 @@
11641164/* tok-379 %txt /tests/golden/prelude-list-unit/tokens/txt
11651165/* tre-379 %txt /tests/golden/prelude-list-unit/tree/txt
11661166/* typ-379 %txt /tests/golden/prelude-list-unit/types/txt
1167−/* src-380 %jibb /tests/golden/types-import-sur/source/jibb
1168−/* tok-380 %txt /tests/golden/types-import-sur/tokens/txt
1169−/* tre-380 %txt /tests/golden/types-import-sur/tree/txt
1170−/* typ-380 %txt /tests/golden/types-import-sur/types/txt
1171−/* imp-380-1 %txt /tests/golden/types-import-sur/sur/fixture/txt
1172−/* imp-380-2 %txt /tests/golden/types-import-sur/sur/fixture/txt
1173−/* src-381 %jibb /tests/golden/types-partial-apply/source/jibb
1174−/* tok-381 %txt /tests/golden/types-partial-apply/tokens/txt
1175−/* tre-381 %txt /tests/golden/types-partial-apply/tree/txt
1176−/* typ-381 %txt /tests/golden/types-partial-apply/types/txt
1177−/* src-382 %jibb /tests/golden/types-partial-atom-constraint/source/jibb
1178−/* tok-382 %txt /tests/golden/types-partial-atom-constraint/tokens/txt
1179−/* tre-382 %txt /tests/golden/types-partial-atom-constraint/tree/txt
1180−/* typ-382 %txt /tests/golden/types-partial-atom-constraint/types/txt
1181−/* src-383 %jibb /tests/golden/types-partial-atom-widening/source/jibb
1182−/* tok-383 %txt /tests/golden/types-partial-atom-widening/tokens/txt
1183−/* tre-383 %txt /tests/golden/types-partial-atom-widening/tree/txt
1184−/* typ-383 %txt /tests/golden/types-partial-atom-widening/types/txt
1185−/* src-384 %jibb /tests/golden/types-partial-aura/source/jibb
1186−/* tok-384 %txt /tests/golden/types-partial-aura/tokens/txt
1187−/* tre-384 %txt /tests/golden/types-partial-aura/tree/txt
1188−/* typ-384 %txt /tests/golden/types-partial-aura/types/txt
1189−/* src-385 %jibb /tests/golden/types-partial-aura-family/source/jibb
1190−/* tok-385 %txt /tests/golden/types-partial-aura-family/tokens/txt
1191−/* tre-385 %txt /tests/golden/types-partial-aura-family/tree/txt
1192−/* typ-385 %txt /tests/golden/types-partial-aura-family/types/txt
1193−/* src-386 %jibb /tests/golden/types-partial-aura-generalization/source/jibb
1194−/* tok-386 %txt /tests/golden/types-partial-aura-generalization/tokens/txt
1195−/* tre-386 %txt /tests/golden/types-partial-aura-generalization/tree/txt
1196−/* typ-386 %txt /tests/golden/types-partial-aura-generalization/types/txt
1197−/* src-387 %jibb /tests/golden/types-partial-bare-atom/source/jibb
1198−/* tok-387 %txt /tests/golden/types-partial-bare-atom/tokens/txt
1199−/* tre-387 %txt /tests/golden/types-partial-bare-atom/tree/txt
1200−/* typ-387 %txt /tests/golden/types-partial-bare-atom/types/txt
1201−/* src-388 %jibb /tests/golden/types-partial-conflicting-sites/source/jibb
1202−/* tok-388 %txt /tests/golden/types-partial-conflicting-sites/tokens/txt
1203−/* tre-388 %txt /tests/golden/types-partial-conflicting-sites/tree/txt
1204−/* typ-388 %txt /tests/golden/types-partial-conflicting-sites/types/txt
1205−/* src-389 %jibb /tests/golden/types-partial-dependency-chain/source/jibb
1206−/* tok-389 %txt /tests/golden/types-partial-dependency-chain/tokens/txt
1207−/* tre-389 %txt /tests/golden/types-partial-dependency-chain/tree/txt
1208−/* typ-389 %txt /tests/golden/types-partial-dependency-chain/types/txt
1209−/* src-390 %jibb /tests/golden/types-partial-explicit-capital/source/jibb
1210−/* tok-390 %txt /tests/golden/types-partial-explicit-capital/tokens/txt
1211−/* tre-390 %txt /tests/golden/types-partial-explicit-capital/tree/txt
1212−/* typ-390 %txt /tests/golden/types-partial-explicit-capital/types/txt
1213−/* src-391 %jibb /tests/golden/types-partial-forward/source/jibb
1214−/* tok-391 %txt /tests/golden/types-partial-forward/tokens/txt
1215−/* tre-391 %txt /tests/golden/types-partial-forward/tree/txt
1216−/* typ-391 %txt /tests/golden/types-partial-forward/types/txt
1217−/* src-392 %jibb /tests/golden/types-partial-generalization/source/jibb
1218−/* tok-392 %txt /tests/golden/types-partial-generalization/tokens/txt
1219−/* tre-392 %txt /tests/golden/types-partial-generalization/tree/txt
1220−/* typ-392 %txt /tests/golden/types-partial-generalization/types/txt
1221−/* src-393 %jibb /tests/golden/types-partial-identity/source/jibb
1222−/* tok-393 %txt /tests/golden/types-partial-identity/tokens/txt
1223−/* tre-393 %txt /tests/golden/types-partial-identity/tree/txt
1224−/* typ-393 %txt /tests/golden/types-partial-identity/types/txt
1225−/* src-394 %jibb /tests/golden/types-partial-independent-atoms/source/jibb
1226−/* tok-394 %txt /tests/golden/types-partial-independent-atoms/tokens/txt
1227−/* tre-394 %txt /tests/golden/types-partial-independent-atoms/tree/txt
1228−/* typ-394 %txt /tests/golden/types-partial-independent-atoms/types/txt
1229−/* src-395 %jibb /tests/golden/types-partial-many-atom-constraints/source/jibb
1230−/* tok-395 %txt /tests/golden/types-partial-many-atom-constraints/tokens/txt
1231−/* tre-395 %txt /tests/golden/types-partial-many-atom-constraints/tree/txt
1232−/* typ-395 %txt /tests/golden/types-partial-many-atom-constraints/types/txt
1233−/* src-396 %jibb /tests/golden/types-partial-mold-bare-aura/source/jibb
1234−/* tok-396 %txt /tests/golden/types-partial-mold-bare-aura/tokens/txt
1235−/* tre-396 %txt /tests/golden/types-partial-mold-bare-aura/tree/txt
1236−/* typ-396 %txt /tests/golden/types-partial-mold-bare-aura/types/txt
1237−/* src-397 %jibb /tests/golden/types-partial-mold-composite/source/jibb
1238−/* tok-397 %txt /tests/golden/types-partial-mold-composite/tokens/txt
1239−/* tre-397 %txt /tests/golden/types-partial-mold-composite/tree/txt
1240−/* typ-397 %txt /tests/golden/types-partial-mold-composite/types/txt
1241−/* src-398 %jibb /tests/golden/types-partial-mold-forward/source/jibb
1242−/* tok-398 %txt /tests/golden/types-partial-mold-forward/tokens/txt
1243−/* tre-398 %txt /tests/golden/types-partial-mold-forward/tree/txt
1244−/* typ-398 %txt /tests/golden/types-partial-mold-forward/types/txt
1245−/* src-399 %jibb /tests/golden/types-partial-mold-recursive/source/jibb
1246−/* tok-399 %txt /tests/golden/types-partial-mold-recursive/tokens/txt
1247−/* tre-399 %txt /tests/golden/types-partial-mold-recursive/tree/txt
1248−/* typ-399 %txt /tests/golden/types-partial-mold-recursive/types/txt
1249−/* src-400 %jibb /tests/golden/types-partial-occurs/source/jibb
1250−/* tok-400 %txt /tests/golden/types-partial-occurs/tokens/txt
1251−/* tre-400 %txt /tests/golden/types-partial-occurs/tree/txt
1252−/* typ-400 %txt /tests/golden/types-partial-occurs/types/txt
1253−/* src-401 %jibb /tests/golden/types-partial-projection/source/jibb
1254−/* tok-401 %txt /tests/golden/types-partial-projection/tokens/txt
1255−/* tre-401 %txt /tests/golden/types-partial-projection/tree/txt
1256−/* typ-401 %txt /tests/golden/types-partial-projection/types/txt
1257−/* src-402 %jibb /tests/golden/types-partial-shadow-global/source/jibb
1258−/* tok-402 %txt /tests/golden/types-partial-shadow-global/tokens/txt
1259−/* tre-402 %txt /tests/golden/types-partial-shadow-global/tree/txt
1260−/* typ-402 %txt /tests/golden/types-partial-shadow-global/types/txt
1261−/* src-403 %jibb /tests/golden/types-partial-shared-tvar/source/jibb
1262−/* tok-403 %txt /tests/golden/types-partial-shared-tvar/tokens/txt
1263−/* tre-403 %txt /tests/golden/types-partial-shared-tvar/tree/txt
1264−/* typ-403 %txt /tests/golden/types-partial-shared-tvar/types/txt
1265−/* src-404 %jibb /tests/golden/types-partial-union-cases/source/jibb
1266−/* tok-404 %txt /tests/golden/types-partial-union-cases/tokens/txt
1267−/* tre-404 %txt /tests/golden/types-partial-union-cases/tree/txt
1268−/* typ-404 %txt /tests/golden/types-partial-union-cases/types/txt
1269−/* src-405 %jibb /tests/golden/types-partial-union-edges/source/jibb
1270−/* tok-405 %txt /tests/golden/types-partial-union-edges/tokens/txt
1271−/* tre-405 %txt /tests/golden/types-partial-union-edges/tree/txt
1272−/* typ-405 %txt /tests/golden/types-partial-union-edges/types/txt
1273−/* src-406 %jibb /tests/golden/types-partial-unresolved-tag/source/jibb
1274−/* tok-406 %txt /tests/golden/types-partial-unresolved-tag/tokens/txt
1275−/* tre-406 %txt /tests/golden/types-partial-unresolved-tag/tree/txt
1276−/* typ-406 %txt /tests/golden/types-partial-unresolved-tag/types/txt
1167+/* src-380 %jibb /tests/golden/prelude-unit-list-transforms/source/jibb
1168+/* tok-380 %txt /tests/golden/prelude-unit-list-transforms/tokens/txt
1169+/* tre-380 %txt /tests/golden/prelude-unit-list-transforms/tree/txt
1170+/* typ-380 %txt /tests/golden/prelude-unit-list-transforms/types/txt
1171+/* src-381 %jibb /tests/golden/types-import-mark/source/jibb
1172+/* tok-381 %txt /tests/golden/types-import-mark/tokens/txt
1173+/* tre-381 %txt /tests/golden/types-import-mark/tree/txt
1174+/* typ-381 %txt /tests/golden/types-import-mark/types/txt
1175+/* imp-381-1 %txt /tests/golden/types-import-mark/sur/fixture/txt
1176+/* mark-381-1 %txt /tests/golden/types-import-mark/mar/label/txt
1177+/* src-382 %jibb /tests/golden/types-import-sur/source/jibb
1178+/* tok-382 %txt /tests/golden/types-import-sur/tokens/txt
1179+/* tre-382 %txt /tests/golden/types-import-sur/tree/txt
1180+/* typ-382 %txt /tests/golden/types-import-sur/types/txt
1181+/* imp-382-1 %txt /tests/golden/types-import-sur/sur/fixture/txt
1182+/* imp-382-2 %txt /tests/golden/types-import-sur/sur/fixture/txt
1183+/* src-383 %jibb /tests/golden/types-partial-apply/source/jibb
1184+/* tok-383 %txt /tests/golden/types-partial-apply/tokens/txt
1185+/* tre-383 %txt /tests/golden/types-partial-apply/tree/txt
1186+/* typ-383 %txt /tests/golden/types-partial-apply/types/txt
1187+/* src-384 %jibb /tests/golden/types-partial-atom-alias/source/jibb
1188+/* tok-384 %txt /tests/golden/types-partial-atom-alias/tokens/txt
1189+/* tre-384 %txt /tests/golden/types-partial-atom-alias/tree/txt
1190+/* typ-384 %txt /tests/golden/types-partial-atom-alias/types/txt
1191+/* src-385 %jibb /tests/golden/types-partial-atom-constraint/source/jibb
1192+/* tok-385 %txt /tests/golden/types-partial-atom-constraint/tokens/txt
1193+/* tre-385 %txt /tests/golden/types-partial-atom-constraint/tree/txt
1194+/* typ-385 %txt /tests/golden/types-partial-atom-constraint/types/txt
1195+/* src-386 %jibb /tests/golden/types-partial-atom-widening/source/jibb
1196+/* tok-386 %txt /tests/golden/types-partial-atom-widening/tokens/txt
1197+/* tre-386 %txt /tests/golden/types-partial-atom-widening/tree/txt
1198+/* typ-386 %txt /tests/golden/types-partial-atom-widening/types/txt
1199+/* src-387 %jibb /tests/golden/types-partial-aura/source/jibb
1200+/* tok-387 %txt /tests/golden/types-partial-aura/tokens/txt
1201+/* tre-387 %txt /tests/golden/types-partial-aura/tree/txt
1202+/* typ-387 %txt /tests/golden/types-partial-aura/types/txt
1203+/* src-388 %jibb /tests/golden/types-partial-aura-family/source/jibb
1204+/* tok-388 %txt /tests/golden/types-partial-aura-family/tokens/txt
1205+/* tre-388 %txt /tests/golden/types-partial-aura-family/tree/txt
1206+/* typ-388 %txt /tests/golden/types-partial-aura-family/types/txt
1207+/* src-389 %jibb /tests/golden/types-partial-aura-generalization/source/jibb
1208+/* tok-389 %txt /tests/golden/types-partial-aura-generalization/tokens/txt
1209+/* tre-389 %txt /tests/golden/types-partial-aura-generalization/tree/txt
1210+/* typ-389 %txt /tests/golden/types-partial-aura-generalization/types/txt
1211+/* src-390 %jibb /tests/golden/types-partial-bare-atom/source/jibb
1212+/* tok-390 %txt /tests/golden/types-partial-bare-atom/tokens/txt
1213+/* tre-390 %txt /tests/golden/types-partial-bare-atom/tree/txt
1214+/* typ-390 %txt /tests/golden/types-partial-bare-atom/types/txt
1215+/* src-391 %jibb /tests/golden/types-partial-branch-widening/source/jibb
1216+/* tok-391 %txt /tests/golden/types-partial-branch-widening/tokens/txt
1217+/* tre-391 %txt /tests/golden/types-partial-branch-widening/tree/txt
1218+/* typ-391 %txt /tests/golden/types-partial-branch-widening/types/txt
1219+/* src-392 %jibb /tests/golden/types-partial-conflicting-sites/source/jibb
1220+/* tok-392 %txt /tests/golden/types-partial-conflicting-sites/tokens/txt
1221+/* tre-392 %txt /tests/golden/types-partial-conflicting-sites/tree/txt
1222+/* typ-392 %txt /tests/golden/types-partial-conflicting-sites/types/txt
1223+/* src-393 %jibb /tests/golden/types-partial-dependency-chain/source/jibb
1224+/* tok-393 %txt /tests/golden/types-partial-dependency-chain/tokens/txt
1225+/* tre-393 %txt /tests/golden/types-partial-dependency-chain/tree/txt
1226+/* typ-393 %txt /tests/golden/types-partial-dependency-chain/types/txt
1227+/* src-394 %jibb /tests/golden/types-partial-explicit-capital/source/jibb
1228+/* tok-394 %txt /tests/golden/types-partial-explicit-capital/tokens/txt
1229+/* tre-394 %txt /tests/golden/types-partial-explicit-capital/tree/txt
1230+/* typ-394 %txt /tests/golden/types-partial-explicit-capital/types/txt
1231+/* src-395 %jibb /tests/golden/types-partial-forward/source/jibb
1232+/* tok-395 %txt /tests/golden/types-partial-forward/tokens/txt
1233+/* tre-395 %txt /tests/golden/types-partial-forward/tree/txt
1234+/* typ-395 %txt /tests/golden/types-partial-forward/types/txt
1235+/* src-396 %jibb /tests/golden/types-partial-generalization/source/jibb
1236+/* tok-396 %txt /tests/golden/types-partial-generalization/tokens/txt
1237+/* tre-396 %txt /tests/golden/types-partial-generalization/tree/txt
1238+/* typ-396 %txt /tests/golden/types-partial-generalization/types/txt
1239+/* src-397 %jibb /tests/golden/types-partial-identity/source/jibb
1240+/* tok-397 %txt /tests/golden/types-partial-identity/tokens/txt
1241+/* tre-397 %txt /tests/golden/types-partial-identity/tree/txt
1242+/* typ-397 %txt /tests/golden/types-partial-identity/types/txt
1243+/* src-398 %jibb /tests/golden/types-partial-independent-atoms/source/jibb
1244+/* tok-398 %txt /tests/golden/types-partial-independent-atoms/tokens/txt
1245+/* tre-398 %txt /tests/golden/types-partial-independent-atoms/tree/txt
1246+/* typ-398 %txt /tests/golden/types-partial-independent-atoms/types/txt
1247+/* src-399 %jibb /tests/golden/types-partial-many-atom-constraints/source/jibb
1248+/* tok-399 %txt /tests/golden/types-partial-many-atom-constraints/tokens/txt
1249+/* tre-399 %txt /tests/golden/types-partial-many-atom-constraints/tree/txt
1250+/* typ-399 %txt /tests/golden/types-partial-many-atom-constraints/types/txt
1251+/* src-400 %jibb /tests/golden/types-partial-mold-bare-aura/source/jibb
1252+/* tok-400 %txt /tests/golden/types-partial-mold-bare-aura/tokens/txt
1253+/* tre-400 %txt /tests/golden/types-partial-mold-bare-aura/tree/txt
1254+/* typ-400 %txt /tests/golden/types-partial-mold-bare-aura/types/txt
1255+/* src-401 %jibb /tests/golden/types-partial-mold-composite/source/jibb
1256+/* tok-401 %txt /tests/golden/types-partial-mold-composite/tokens/txt
1257+/* tre-401 %txt /tests/golden/types-partial-mold-composite/tree/txt
1258+/* typ-401 %txt /tests/golden/types-partial-mold-composite/types/txt
1259+/* src-402 %jibb /tests/golden/types-partial-mold-forward/source/jibb
1260+/* tok-402 %txt /tests/golden/types-partial-mold-forward/tokens/txt
1261+/* tre-402 %txt /tests/golden/types-partial-mold-forward/tree/txt
1262+/* typ-402 %txt /tests/golden/types-partial-mold-forward/types/txt
1263+/* src-403 %jibb /tests/golden/types-partial-mold-recursive/source/jibb
1264+/* tok-403 %txt /tests/golden/types-partial-mold-recursive/tokens/txt
1265+/* tre-403 %txt /tests/golden/types-partial-mold-recursive/tree/txt
1266+/* typ-403 %txt /tests/golden/types-partial-mold-recursive/types/txt
1267+/* src-404 %jibb /tests/golden/types-partial-occurs/source/jibb
1268+/* tok-404 %txt /tests/golden/types-partial-occurs/tokens/txt
1269+/* tre-404 %txt /tests/golden/types-partial-occurs/tree/txt
1270+/* typ-404 %txt /tests/golden/types-partial-occurs/types/txt
1271+/* src-405 %jibb /tests/golden/types-partial-projection/source/jibb
1272+/* tok-405 %txt /tests/golden/types-partial-projection/tokens/txt
1273+/* tre-405 %txt /tests/golden/types-partial-projection/tree/txt
1274+/* typ-405 %txt /tests/golden/types-partial-projection/types/txt
1275+/* src-406 %jibb /tests/golden/types-partial-shadow-global/source/jibb
1276+/* tok-406 %txt /tests/golden/types-partial-shadow-global/tokens/txt
1277+/* tre-406 %txt /tests/golden/types-partial-shadow-global/tree/txt
1278+/* typ-406 %txt /tests/golden/types-partial-shadow-global/types/txt
1279+/* src-407 %jibb /tests/golden/types-partial-shared-tvar/source/jibb
1280+/* tok-407 %txt /tests/golden/types-partial-shared-tvar/tokens/txt
1281+/* tre-407 %txt /tests/golden/types-partial-shared-tvar/tree/txt
1282+/* typ-407 %txt /tests/golden/types-partial-shared-tvar/types/txt
1283+/* src-408 %jibb /tests/golden/types-partial-union-cases/source/jibb
1284+/* tok-408 %txt /tests/golden/types-partial-union-cases/tokens/txt
1285+/* tre-408 %txt /tests/golden/types-partial-union-cases/tree/txt
1286+/* typ-408 %txt /tests/golden/types-partial-union-cases/types/txt
1287+/* src-409 %jibb /tests/golden/types-partial-union-edges/source/jibb
1288+/* tok-409 %txt /tests/golden/types-partial-union-edges/tokens/txt
1289+/* tre-409 %txt /tests/golden/types-partial-union-edges/tree/txt
1290+/* typ-409 %txt /tests/golden/types-partial-union-edges/types/txt
1291+/* src-410 %jibb /tests/golden/types-partial-unresolved-tag/source/jibb
1292+/* tok-410 %txt /tests/golden/types-partial-unresolved-tag/tokens/txt
1293+/* tre-410 %txt /tests/golden/types-partial-unresolved-tag/tree/txt
1294+/* typ-410 %txt /tests/golden/types-partial-unresolved-tag/types/txt
12771295|%
12781296:: one arm per case
12791297::
@@ -2035,60 +2053,68 @@
20352053 (weld (check ~.prelude-list-helpers src-378 `tok-378 `tre-378) (check-types ~.prelude-list-helpers ~[%tests %golden ~.prelude-list-helpers %source %jibb] src-378 `typ-378))
20362054++ test-prelude-list-unit
20372055 (weld (check ~.prelude-list-unit src-379 `tok-379 `tre-379) (check-types ~.prelude-list-unit ~[%tests %golden ~.prelude-list-unit %source %jibb] src-379 `typ-379))
2056+++ test-prelude-unit-list-transforms
2057+ (weld (check ~.prelude-unit-list-transforms src-380 `tok-380 `tre-380) (check-types ~.prelude-unit-list-transforms ~[%tests %golden ~.prelude-unit-list-transforms %source %jibb] src-380 `typ-380))
2058+++ test-types-import-mark
2059+ (weld (check ~.types-import-mark src-381 `tok-381 `tre-381) (check-mark-types ~.types-import-mark ~[%tests %golden ~.types-import-mark %source %jibb] src-381 `typ-381 ~[[%fixture %title imp-381-1]] ~[[%label mark-381-1]]))
20382060++ test-types-import-sur
2039− (weld (check ~.types-import-sur src-380 `tok-380 `tre-380) (check-import-types ~.types-import-sur ~[%tests %golden ~.types-import-sur %source %jibb] src-380 `typ-380 ~[[%fixture %title imp-380-1] [%fixture %pair imp-380-2]]))
2061+ (weld (check ~.types-import-sur src-382 `tok-382 `tre-382) (check-import-types ~.types-import-sur ~[%tests %golden ~.types-import-sur %source %jibb] src-382 `typ-382 ~[[%fixture %title imp-382-1] [%fixture %pair imp-382-2]]))
20402062++ test-types-partial-apply
2041− (weld (check ~.types-partial-apply src-381 `tok-381 `tre-381) (check-types ~.types-partial-apply ~[%tests %golden ~.types-partial-apply %source %jibb] src-381 `typ-381))
2063+ (weld (check ~.types-partial-apply src-383 `tok-383 `tre-383) (check-types ~.types-partial-apply ~[%tests %golden ~.types-partial-apply %source %jibb] src-383 `typ-383))
2064+++ test-types-partial-atom-alias
2065+ (weld (check ~.types-partial-atom-alias src-384 `tok-384 `tre-384) (check-types ~.types-partial-atom-alias ~[%tests %golden ~.types-partial-atom-alias %source %jibb] src-384 `typ-384))
20422066++ test-types-partial-atom-constraint
2043− (weld (check ~.types-partial-atom-constraint src-382 `tok-382 `tre-382) (check-types ~.types-partial-atom-constraint ~[%tests %golden ~.types-partial-atom-constraint %source %jibb] src-382 `typ-382))
2067+ (weld (check ~.types-partial-atom-constraint src-385 `tok-385 `tre-385) (check-types ~.types-partial-atom-constraint ~[%tests %golden ~.types-partial-atom-constraint %source %jibb] src-385 `typ-385))
20442068++ test-types-partial-atom-widening
2045− (weld (check ~.types-partial-atom-widening src-383 `tok-383 `tre-383) (check-types ~.types-partial-atom-widening ~[%tests %golden ~.types-partial-atom-widening %source %jibb] src-383 `typ-383))
2069+ (weld (check ~.types-partial-atom-widening src-386 `tok-386 `tre-386) (check-types ~.types-partial-atom-widening ~[%tests %golden ~.types-partial-atom-widening %source %jibb] src-386 `typ-386))
20462070++ test-types-partial-aura
2047− (weld (check ~.types-partial-aura src-384 `tok-384 `tre-384) (check-types ~.types-partial-aura ~[%tests %golden ~.types-partial-aura %source %jibb] src-384 `typ-384))
2071+ (weld (check ~.types-partial-aura src-387 `tok-387 `tre-387) (check-types ~.types-partial-aura ~[%tests %golden ~.types-partial-aura %source %jibb] src-387 `typ-387))
20482072++ test-types-partial-aura-family
2049− (weld (check ~.types-partial-aura-family src-385 `tok-385 `tre-385) (check-types ~.types-partial-aura-family ~[%tests %golden ~.types-partial-aura-family %source %jibb] src-385 `typ-385))
2073+ (weld (check ~.types-partial-aura-family src-388 `tok-388 `tre-388) (check-types ~.types-partial-aura-family ~[%tests %golden ~.types-partial-aura-family %source %jibb] src-388 `typ-388))
20502074++ test-types-partial-aura-generalization
2051− (weld (check ~.types-partial-aura-generalization src-386 `tok-386 `tre-386) (check-types ~.types-partial-aura-generalization ~[%tests %golden ~.types-partial-aura-generalization %source %jibb] src-386 `typ-386))
2075+ (weld (check ~.types-partial-aura-generalization src-389 `tok-389 `tre-389) (check-types ~.types-partial-aura-generalization ~[%tests %golden ~.types-partial-aura-generalization %source %jibb] src-389 `typ-389))
20522076++ test-types-partial-bare-atom
2053− (weld (check ~.types-partial-bare-atom src-387 `tok-387 `tre-387) (check-types ~.types-partial-bare-atom ~[%tests %golden ~.types-partial-bare-atom %source %jibb] src-387 `typ-387))
2077+ (weld (check ~.types-partial-bare-atom src-390 `tok-390 `tre-390) (check-types ~.types-partial-bare-atom ~[%tests %golden ~.types-partial-bare-atom %source %jibb] src-390 `typ-390))
2078+++ test-types-partial-branch-widening
2079+ (weld (check ~.types-partial-branch-widening src-391 `tok-391 `tre-391) (check-types ~.types-partial-branch-widening ~[%tests %golden ~.types-partial-branch-widening %source %jibb] src-391 `typ-391))
20542080++ test-types-partial-conflicting-sites
2055− (weld (check ~.types-partial-conflicting-sites src-388 `tok-388 `tre-388) (check-types ~.types-partial-conflicting-sites ~[%tests %golden ~.types-partial-conflicting-sites %source %jibb] src-388 `typ-388))
2081+ (weld (check ~.types-partial-conflicting-sites src-392 `tok-392 `tre-392) (check-types ~.types-partial-conflicting-sites ~[%tests %golden ~.types-partial-conflicting-sites %source %jibb] src-392 `typ-392))
20562082++ test-types-partial-dependency-chain
2057− (weld (check ~.types-partial-dependency-chain src-389 `tok-389 `tre-389) (check-types ~.types-partial-dependency-chain ~[%tests %golden ~.types-partial-dependency-chain %source %jibb] src-389 `typ-389))
2083+ (weld (check ~.types-partial-dependency-chain src-393 `tok-393 `tre-393) (check-types ~.types-partial-dependency-chain ~[%tests %golden ~.types-partial-dependency-chain %source %jibb] src-393 `typ-393))
20582084++ test-types-partial-explicit-capital
2059− (weld (check ~.types-partial-explicit-capital src-390 `tok-390 `tre-390) (check-types ~.types-partial-explicit-capital ~[%tests %golden ~.types-partial-explicit-capital %source %jibb] src-390 `typ-390))
2085+ (weld (check ~.types-partial-explicit-capital src-394 `tok-394 `tre-394) (check-types ~.types-partial-explicit-capital ~[%tests %golden ~.types-partial-explicit-capital %source %jibb] src-394 `typ-394))
20602086++ test-types-partial-forward
2061− (weld (check ~.types-partial-forward src-391 `tok-391 `tre-391) (check-types ~.types-partial-forward ~[%tests %golden ~.types-partial-forward %source %jibb] src-391 `typ-391))
2087+ (weld (check ~.types-partial-forward src-395 `tok-395 `tre-395) (check-types ~.types-partial-forward ~[%tests %golden ~.types-partial-forward %source %jibb] src-395 `typ-395))
20622088++ test-types-partial-generalization
2063− (weld (check ~.types-partial-generalization src-392 `tok-392 `tre-392) (check-types ~.types-partial-generalization ~[%tests %golden ~.types-partial-generalization %source %jibb] src-392 `typ-392))
2089+ (weld (check ~.types-partial-generalization src-396 `tok-396 `tre-396) (check-types ~.types-partial-generalization ~[%tests %golden ~.types-partial-generalization %source %jibb] src-396 `typ-396))
20642090++ test-types-partial-identity
2065− (weld (check ~.types-partial-identity src-393 `tok-393 `tre-393) (check-types ~.types-partial-identity ~[%tests %golden ~.types-partial-identity %source %jibb] src-393 `typ-393))
2091+ (weld (check ~.types-partial-identity src-397 `tok-397 `tre-397) (check-types ~.types-partial-identity ~[%tests %golden ~.types-partial-identity %source %jibb] src-397 `typ-397))
20662092++ test-types-partial-independent-atoms
2067− (weld (check ~.types-partial-independent-atoms src-394 `tok-394 `tre-394) (check-types ~.types-partial-independent-atoms ~[%tests %golden ~.types-partial-independent-atoms %source %jibb] src-394 `typ-394))
2093+ (weld (check ~.types-partial-independent-atoms src-398 `tok-398 `tre-398) (check-types ~.types-partial-independent-atoms ~[%tests %golden ~.types-partial-independent-atoms %source %jibb] src-398 `typ-398))
20682094++ test-types-partial-many-atom-constraints
2069− (weld (check ~.types-partial-many-atom-constraints src-395 `tok-395 `tre-395) (check-types ~.types-partial-many-atom-constraints ~[%tests %golden ~.types-partial-many-atom-constraints %source %jibb] src-395 `typ-395))
2095+ (weld (check ~.types-partial-many-atom-constraints src-399 `tok-399 `tre-399) (check-types ~.types-partial-many-atom-constraints ~[%tests %golden ~.types-partial-many-atom-constraints %source %jibb] src-399 `typ-399))
20702096++ test-types-partial-mold-bare-aura
2071− (weld (check ~.types-partial-mold-bare-aura src-396 `tok-396 `tre-396) (check-types ~.types-partial-mold-bare-aura ~[%tests %golden ~.types-partial-mold-bare-aura %source %jibb] src-396 `typ-396))
2097+ (weld (check ~.types-partial-mold-bare-aura src-400 `tok-400 `tre-400) (check-types ~.types-partial-mold-bare-aura ~[%tests %golden ~.types-partial-mold-bare-aura %source %jibb] src-400 `typ-400))
20722098++ test-types-partial-mold-composite
2073− (weld (check ~.types-partial-mold-composite src-397 `tok-397 `tre-397) (check-types ~.types-partial-mold-composite ~[%tests %golden ~.types-partial-mold-composite %source %jibb] src-397 `typ-397))
2099+ (weld (check ~.types-partial-mold-composite src-401 `tok-401 `tre-401) (check-types ~.types-partial-mold-composite ~[%tests %golden ~.types-partial-mold-composite %source %jibb] src-401 `typ-401))
20742100++ test-types-partial-mold-forward
2075− (weld (check ~.types-partial-mold-forward src-398 `tok-398 `tre-398) (check-types ~.types-partial-mold-forward ~[%tests %golden ~.types-partial-mold-forward %source %jibb] src-398 `typ-398))
2101+ (weld (check ~.types-partial-mold-forward src-402 `tok-402 `tre-402) (check-types ~.types-partial-mold-forward ~[%tests %golden ~.types-partial-mold-forward %source %jibb] src-402 `typ-402))
20762102++ test-types-partial-mold-recursive
2077− (weld (check ~.types-partial-mold-recursive src-399 `tok-399 `tre-399) (check-types ~.types-partial-mold-recursive ~[%tests %golden ~.types-partial-mold-recursive %source %jibb] src-399 `typ-399))
2103+ (weld (check ~.types-partial-mold-recursive src-403 `tok-403 `tre-403) (check-types ~.types-partial-mold-recursive ~[%tests %golden ~.types-partial-mold-recursive %source %jibb] src-403 `typ-403))
20782104++ test-types-partial-occurs
2079− (weld (check ~.types-partial-occurs src-400 `tok-400 `tre-400) (check-types ~.types-partial-occurs ~[%tests %golden ~.types-partial-occurs %source %jibb] src-400 `typ-400))
2105+ (weld (check ~.types-partial-occurs src-404 `tok-404 `tre-404) (check-types ~.types-partial-occurs ~[%tests %golden ~.types-partial-occurs %source %jibb] src-404 `typ-404))
20802106++ test-types-partial-projection
2081− (weld (check ~.types-partial-projection src-401 `tok-401 `tre-401) (check-types ~.types-partial-projection ~[%tests %golden ~.types-partial-projection %source %jibb] src-401 `typ-401))
2107+ (weld (check ~.types-partial-projection src-405 `tok-405 `tre-405) (check-types ~.types-partial-projection ~[%tests %golden ~.types-partial-projection %source %jibb] src-405 `typ-405))
20822108++ test-types-partial-shadow-global
2083− (weld (check ~.types-partial-shadow-global src-402 `tok-402 `tre-402) (check-types ~.types-partial-shadow-global ~[%tests %golden ~.types-partial-shadow-global %source %jibb] src-402 `typ-402))
2109+ (weld (check ~.types-partial-shadow-global src-406 `tok-406 `tre-406) (check-types ~.types-partial-shadow-global ~[%tests %golden ~.types-partial-shadow-global %source %jibb] src-406 `typ-406))
20842110++ test-types-partial-shared-tvar
2085− (weld (check ~.types-partial-shared-tvar src-403 `tok-403 `tre-403) (check-types ~.types-partial-shared-tvar ~[%tests %golden ~.types-partial-shared-tvar %source %jibb] src-403 `typ-403))
2111+ (weld (check ~.types-partial-shared-tvar src-407 `tok-407 `tre-407) (check-types ~.types-partial-shared-tvar ~[%tests %golden ~.types-partial-shared-tvar %source %jibb] src-407 `typ-407))
20862112++ test-types-partial-union-cases
2087− (weld (check ~.types-partial-union-cases src-404 `tok-404 `tre-404) (check-types ~.types-partial-union-cases ~[%tests %golden ~.types-partial-union-cases %source %jibb] src-404 `typ-404))
2113+ (weld (check ~.types-partial-union-cases src-408 `tok-408 `tre-408) (check-types ~.types-partial-union-cases ~[%tests %golden ~.types-partial-union-cases %source %jibb] src-408 `typ-408))
20882114++ test-types-partial-union-edges
2089− (weld (check ~.types-partial-union-edges src-405 `tok-405 `tre-405) (check-types ~.types-partial-union-edges ~[%tests %golden ~.types-partial-union-edges %source %jibb] src-405 `typ-405))
2115+ (weld (check ~.types-partial-union-edges src-409 `tok-409 `tre-409) (check-types ~.types-partial-union-edges ~[%tests %golden ~.types-partial-union-edges %source %jibb] src-409 `typ-409))
20902116++ test-types-partial-unresolved-tag
2091− (weld (check ~.types-partial-unresolved-tag src-406 `tok-406 `tre-406) (check-types ~.types-partial-unresolved-tag ~[%tests %golden ~.types-partial-unresolved-tag %source %jibb] src-406 `typ-406))
2117+ (weld (check ~.types-partial-unresolved-tag src-410 `tok-410 `tre-410) (check-types ~.types-partial-unresolved-tag ~[%tests %golden ~.types-partial-unresolved-tag %source %jibb] src-410 `typ-410))
20922118::
20932119:: +check: run golden:jibb on a case and compare both outputs
20942120::
@@ -2163,4 +2189,24 @@
21632189 =/ typ=type (~(play ut cor) (ream (cat 3 '*' mold.fixture)))
21642190 [module.fixture mold.fixture (read-mold-in:jibb-import module.fixture mold.fixture typ cor)]
21652191 (compare (file case "types.txt") want (golden-types-imports:jibb at src external))
2192+::
2193+++ check-mark-types
2194+ |= [case=@ta at=path src=@t want=(unit wain) fixtures=(list [module=term mold=term source=wain]) marks=(list [name=term source=wain])]
2195+ ^- tang
2196+ ?: |((lien fixtures |=(f=[module=term mold=term source=wain] ?=(~ source.f))) (lien marks |=(m=[name=term source=wain] ?=(~ source.m))))
2197+ ~[leaf+"an imported Hoon fixture is missing or empty"]
2198+ =/ external=(list [module=term name=term result=*])
2199+ %+ turn fixtures
2200+ |= fixture=[module=term mold=term source=wain]
2201+ =/ text=@t (rap 3 (turn source.fixture |=(line=@t (cat 3 line '\0a'))))
2202+ =/ cor=type -:(ride -:!>(..zuse) text)
2203+ =/ typ=type (~(play ut cor) (ream (cat 3 '*' mold.fixture)))
2204+ [module.fixture mold.fixture (read-mold-in:jibb-import module.fixture mold.fixture typ cor)]
2205+ =/ mark-external=(list [name=term result=*])
2206+ %+ turn marks
2207+ |= fixture=[name=term source=wain]
2208+ =/ text=@t (rap 3 (turn source.fixture |=(line=@t (cat 3 line '\0a'))))
2209+ =/ cor=type -:(ride -:!>(..zuse) text)
2210+ [name.fixture (read-mark:jibb-import name.fixture cor)]
2211+ (compare (file case "types.txt") want (golden-types-with-marks:jibb at src external mark-external))
21662212--