@@ -1174,124 +1174,133 @@
1174/* typ-381 %txt /tests/golden/types-import-mark/types/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
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
1176/* mark-381-1 %txt /tests/golden/types-import-mark/mar/label/txt
1177−/* src-382 %jibb /tests/golden/types-import-sur/source/jibb
1177+/* src-382 %jibb /tests/golden/types-import-missing-mold/source/jibb
1178+/* tok-382 %txt /tests/golden/types-import-missing-mold/tokens/txt
1179+/* tre-382 %txt /tests/golden/types-import-missing-mold/tree/txt
1180+/* typ-382 %txt /tests/golden/types-import-missing-mold/types/txt
1181+/* imp-382-1 %txt /tests/golden/types-import-missing-mold/sur/fixture/txt
1182+/* src-383 %jibb /tests/golden/types-import-sur/source/jibb
1178−/* tok-382 %txt /tests/golden/types-import-sur/tokens/txt
1183+/* tok-383 %txt /tests/golden/types-import-sur/tokens/txt
1179−/* tre-382 %txt /tests/golden/types-import-sur/tree/txt
1184+/* tre-383 %txt /tests/golden/types-import-sur/tree/txt
1180−/* typ-382 %txt /tests/golden/types-import-sur/types/txt
1185+/* typ-383 %txt /tests/golden/types-import-sur/types/txt
1181−/* imp-382-1 %txt /tests/golden/types-import-sur/sur/fixture/txt
1186+/* imp-383-1 %txt /tests/golden/types-import-sur/sur/fixture/txt
1182−/* imp-382-2 %txt /tests/golden/types-import-sur/sur/fixture/txt
1187+/* imp-383-2 %txt /tests/golden/types-import-sur/sur/fixture/txt
1183−/* src-383 %jibb /tests/golden/types-partial-apply/source/jibb
1188+/* src-384 %jibb /tests/golden/types-partial-apply/source/jibb
1184−/* tok-383 %txt /tests/golden/types-partial-apply/tokens/txt
1189+/* tok-384 %txt /tests/golden/types-partial-apply/tokens/txt
1185−/* tre-383 %txt /tests/golden/types-partial-apply/tree/txt
1190+/* tre-384 %txt /tests/golden/types-partial-apply/tree/txt
1186−/* typ-383 %txt /tests/golden/types-partial-apply/types/txt
1191+/* typ-384 %txt /tests/golden/types-partial-apply/types/txt
1187−/* src-384 %jibb /tests/golden/types-partial-atom-alias/source/jibb
1192+/* src-385 %jibb /tests/golden/types-partial-atom-alias/source/jibb
1188−/* tok-384 %txt /tests/golden/types-partial-atom-alias/tokens/txt
1193+/* tok-385 %txt /tests/golden/types-partial-atom-alias/tokens/txt
1189−/* tre-384 %txt /tests/golden/types-partial-atom-alias/tree/txt
1194+/* tre-385 %txt /tests/golden/types-partial-atom-alias/tree/txt
1190−/* typ-384 %txt /tests/golden/types-partial-atom-alias/types/txt
1195+/* typ-385 %txt /tests/golden/types-partial-atom-alias/types/txt
1191−/* src-385 %jibb /tests/golden/types-partial-atom-constraint/source/jibb
1196+/* src-386 %jibb /tests/golden/types-partial-atom-constraint/source/jibb
1192−/* tok-385 %txt /tests/golden/types-partial-atom-constraint/tokens/txt
1197+/* tok-386 %txt /tests/golden/types-partial-atom-constraint/tokens/txt
1193−/* tre-385 %txt /tests/golden/types-partial-atom-constraint/tree/txt
1198+/* tre-386 %txt /tests/golden/types-partial-atom-constraint/tree/txt
1194−/* typ-385 %txt /tests/golden/types-partial-atom-constraint/types/txt
1199+/* typ-386 %txt /tests/golden/types-partial-atom-constraint/types/txt
1195−/* src-386 %jibb /tests/golden/types-partial-atom-widening/source/jibb
1200+/* src-387 %jibb /tests/golden/types-partial-atom-widening/source/jibb
1196−/* tok-386 %txt /tests/golden/types-partial-atom-widening/tokens/txt
1201+/* tok-387 %txt /tests/golden/types-partial-atom-widening/tokens/txt
1197−/* tre-386 %txt /tests/golden/types-partial-atom-widening/tree/txt
1202+/* tre-387 %txt /tests/golden/types-partial-atom-widening/tree/txt
1198−/* typ-386 %txt /tests/golden/types-partial-atom-widening/types/txt
1203+/* typ-387 %txt /tests/golden/types-partial-atom-widening/types/txt
1199−/* src-387 %jibb /tests/golden/types-partial-aura/source/jibb
1204+/* src-388 %jibb /tests/golden/types-partial-aura/source/jibb
1200−/* tok-387 %txt /tests/golden/types-partial-aura/tokens/txt
1205+/* tok-388 %txt /tests/golden/types-partial-aura/tokens/txt
1201−/* tre-387 %txt /tests/golden/types-partial-aura/tree/txt
1206+/* tre-388 %txt /tests/golden/types-partial-aura/tree/txt
1202−/* typ-387 %txt /tests/golden/types-partial-aura/types/txt
1207+/* typ-388 %txt /tests/golden/types-partial-aura/types/txt
1203−/* src-388 %jibb /tests/golden/types-partial-aura-family/source/jibb
1208+/* src-389 %jibb /tests/golden/types-partial-aura-family/source/jibb
1204−/* tok-388 %txt /tests/golden/types-partial-aura-family/tokens/txt
1209+/* tok-389 %txt /tests/golden/types-partial-aura-family/tokens/txt
1205−/* tre-388 %txt /tests/golden/types-partial-aura-family/tree/txt
1210+/* tre-389 %txt /tests/golden/types-partial-aura-family/tree/txt
1206−/* typ-388 %txt /tests/golden/types-partial-aura-family/types/txt
1211+/* typ-389 %txt /tests/golden/types-partial-aura-family/types/txt
1207−/* src-389 %jibb /tests/golden/types-partial-aura-generalization/source/jibb
1212+/* src-390 %jibb /tests/golden/types-partial-aura-generalization/source/jibb
1208−/* tok-389 %txt /tests/golden/types-partial-aura-generalization/tokens/txt
1213+/* tok-390 %txt /tests/golden/types-partial-aura-generalization/tokens/txt
1209−/* tre-389 %txt /tests/golden/types-partial-aura-generalization/tree/txt
1214+/* tre-390 %txt /tests/golden/types-partial-aura-generalization/tree/txt
1210−/* typ-389 %txt /tests/golden/types-partial-aura-generalization/types/txt
1215+/* typ-390 %txt /tests/golden/types-partial-aura-generalization/types/txt
1211−/* src-390 %jibb /tests/golden/types-partial-bare-atom/source/jibb
1216+/* src-391 %jibb /tests/golden/types-partial-bare-atom/source/jibb
1212−/* tok-390 %txt /tests/golden/types-partial-bare-atom/tokens/txt
1217+/* tok-391 %txt /tests/golden/types-partial-bare-atom/tokens/txt
1213−/* tre-390 %txt /tests/golden/types-partial-bare-atom/tree/txt
1218+/* tre-391 %txt /tests/golden/types-partial-bare-atom/tree/txt
1214−/* typ-390 %txt /tests/golden/types-partial-bare-atom/types/txt
1219+/* typ-391 %txt /tests/golden/types-partial-bare-atom/types/txt
1215−/* src-391 %jibb /tests/golden/types-partial-branch-widening/source/jibb
1220+/* src-392 %jibb /tests/golden/types-partial-branch-widening/source/jibb
1216−/* tok-391 %txt /tests/golden/types-partial-branch-widening/tokens/txt
1221+/* tok-392 %txt /tests/golden/types-partial-branch-widening/tokens/txt
1217−/* tre-391 %txt /tests/golden/types-partial-branch-widening/tree/txt
1222+/* tre-392 %txt /tests/golden/types-partial-branch-widening/tree/txt
1218−/* typ-391 %txt /tests/golden/types-partial-branch-widening/types/txt
1223+/* typ-392 %txt /tests/golden/types-partial-branch-widening/types/txt
1219−/* src-392 %jibb /tests/golden/types-partial-conflicting-sites/source/jibb
1224+/* src-393 %jibb /tests/golden/types-partial-conflicting-sites/source/jibb
1220−/* tok-392 %txt /tests/golden/types-partial-conflicting-sites/tokens/txt
1225+/* tok-393 %txt /tests/golden/types-partial-conflicting-sites/tokens/txt
1221−/* tre-392 %txt /tests/golden/types-partial-conflicting-sites/tree/txt
1226+/* tre-393 %txt /tests/golden/types-partial-conflicting-sites/tree/txt
1222−/* typ-392 %txt /tests/golden/types-partial-conflicting-sites/types/txt
1227+/* typ-393 %txt /tests/golden/types-partial-conflicting-sites/types/txt
1228+/* src-394 %jibb /tests/golden/types-partial-decimal-default/source/jibb
1229+/* tok-394 %txt /tests/golden/types-partial-decimal-default/tokens/txt
1230+/* tre-394 %txt /tests/golden/types-partial-decimal-default/tree/txt
1231+/* typ-394 %txt /tests/golden/types-partial-decimal-default/types/txt
1223−/* src-393 %jibb /tests/golden/types-partial-dependency-chain/source/jibb
1232+/* src-395 %jibb /tests/golden/types-partial-dependency-chain/source/jibb
1224−/* tok-393 %txt /tests/golden/types-partial-dependency-chain/tokens/txt
1233+/* tok-395 %txt /tests/golden/types-partial-dependency-chain/tokens/txt
1225−/* tre-393 %txt /tests/golden/types-partial-dependency-chain/tree/txt
1234+/* tre-395 %txt /tests/golden/types-partial-dependency-chain/tree/txt
1226−/* typ-393 %txt /tests/golden/types-partial-dependency-chain/types/txt
1235+/* typ-395 %txt /tests/golden/types-partial-dependency-chain/types/txt
1227−/* src-394 %jibb /tests/golden/types-partial-explicit-capital/source/jibb
1236+/* src-396 %jibb /tests/golden/types-partial-explicit-capital/source/jibb
1228−/* tok-394 %txt /tests/golden/types-partial-explicit-capital/tokens/txt
1237+/* tok-396 %txt /tests/golden/types-partial-explicit-capital/tokens/txt
1229−/* tre-394 %txt /tests/golden/types-partial-explicit-capital/tree/txt
1238+/* tre-396 %txt /tests/golden/types-partial-explicit-capital/tree/txt
1230−/* typ-394 %txt /tests/golden/types-partial-explicit-capital/types/txt
1239+/* typ-396 %txt /tests/golden/types-partial-explicit-capital/types/txt
1231−/* src-395 %jibb /tests/golden/types-partial-forward/source/jibb
1240+/* src-397 %jibb /tests/golden/types-partial-forward/source/jibb
1232−/* tok-395 %txt /tests/golden/types-partial-forward/tokens/txt
1241+/* tok-397 %txt /tests/golden/types-partial-forward/tokens/txt
1233−/* tre-395 %txt /tests/golden/types-partial-forward/tree/txt
1242+/* tre-397 %txt /tests/golden/types-partial-forward/tree/txt
1234−/* typ-395 %txt /tests/golden/types-partial-forward/types/txt
1243+/* typ-397 %txt /tests/golden/types-partial-forward/types/txt
1235−/* src-396 %jibb /tests/golden/types-partial-generalization/source/jibb
1244+/* src-398 %jibb /tests/golden/types-partial-generalization/source/jibb
1236−/* tok-396 %txt /tests/golden/types-partial-generalization/tokens/txt
1245+/* tok-398 %txt /tests/golden/types-partial-generalization/tokens/txt
1237−/* tre-396 %txt /tests/golden/types-partial-generalization/tree/txt
1246+/* tre-398 %txt /tests/golden/types-partial-generalization/tree/txt
1238−/* typ-396 %txt /tests/golden/types-partial-generalization/types/txt
1247+/* typ-398 %txt /tests/golden/types-partial-generalization/types/txt
1239−/* src-397 %jibb /tests/golden/types-partial-identity/source/jibb
1248+/* src-399 %jibb /tests/golden/types-partial-identity/source/jibb
1240−/* tok-397 %txt /tests/golden/types-partial-identity/tokens/txt
1249+/* tok-399 %txt /tests/golden/types-partial-identity/tokens/txt
1241−/* tre-397 %txt /tests/golden/types-partial-identity/tree/txt
1250+/* tre-399 %txt /tests/golden/types-partial-identity/tree/txt
1242−/* typ-397 %txt /tests/golden/types-partial-identity/types/txt
1251+/* typ-399 %txt /tests/golden/types-partial-identity/types/txt
1243−/* src-398 %jibb /tests/golden/types-partial-independent-atoms/source/jibb
1252+/* src-400 %jibb /tests/golden/types-partial-independent-atoms/source/jibb
1244−/* tok-398 %txt /tests/golden/types-partial-independent-atoms/tokens/txt
1253+/* tok-400 %txt /tests/golden/types-partial-independent-atoms/tokens/txt
1245−/* tre-398 %txt /tests/golden/types-partial-independent-atoms/tree/txt
1254+/* tre-400 %txt /tests/golden/types-partial-independent-atoms/tree/txt
1246−/* typ-398 %txt /tests/golden/types-partial-independent-atoms/types/txt
1255+/* typ-400 %txt /tests/golden/types-partial-independent-atoms/types/txt
1247−/* src-399 %jibb /tests/golden/types-partial-many-atom-constraints/source/jibb
1256+/* src-401 %jibb /tests/golden/types-partial-many-atom-constraints/source/jibb
1248−/* tok-399 %txt /tests/golden/types-partial-many-atom-constraints/tokens/txt
1257+/* tok-401 %txt /tests/golden/types-partial-many-atom-constraints/tokens/txt
1249−/* tre-399 %txt /tests/golden/types-partial-many-atom-constraints/tree/txt
1258+/* tre-401 %txt /tests/golden/types-partial-many-atom-constraints/tree/txt
1250−/* typ-399 %txt /tests/golden/types-partial-many-atom-constraints/types/txt
1259+/* typ-401 %txt /tests/golden/types-partial-many-atom-constraints/types/txt
1251−/* src-400 %jibb /tests/golden/types-partial-mold-bare-aura/source/jibb
1260+/* src-402 %jibb /tests/golden/types-partial-mold-bare-aura/source/jibb
1252−/* tok-400 %txt /tests/golden/types-partial-mold-bare-aura/tokens/txt
1261+/* tok-402 %txt /tests/golden/types-partial-mold-bare-aura/tokens/txt
1253−/* tre-400 %txt /tests/golden/types-partial-mold-bare-aura/tree/txt
1262+/* tre-402 %txt /tests/golden/types-partial-mold-bare-aura/tree/txt
1254−/* typ-400 %txt /tests/golden/types-partial-mold-bare-aura/types/txt
1263+/* typ-402 %txt /tests/golden/types-partial-mold-bare-aura/types/txt
1255−/* src-401 %jibb /tests/golden/types-partial-mold-composite/source/jibb
1264+/* src-403 %jibb /tests/golden/types-partial-mold-composite/source/jibb
1256−/* tok-401 %txt /tests/golden/types-partial-mold-composite/tokens/txt
1265+/* tok-403 %txt /tests/golden/types-partial-mold-composite/tokens/txt
1257−/* tre-401 %txt /tests/golden/types-partial-mold-composite/tree/txt
1266+/* tre-403 %txt /tests/golden/types-partial-mold-composite/tree/txt
1258−/* typ-401 %txt /tests/golden/types-partial-mold-composite/types/txt
1267+/* typ-403 %txt /tests/golden/types-partial-mold-composite/types/txt
1259−/* src-402 %jibb /tests/golden/types-partial-mold-forward/source/jibb
1268+/* src-404 %jibb /tests/golden/types-partial-mold-forward/source/jibb
1260−/* tok-402 %txt /tests/golden/types-partial-mold-forward/tokens/txt
1269+/* tok-404 %txt /tests/golden/types-partial-mold-forward/tokens/txt
1261−/* tre-402 %txt /tests/golden/types-partial-mold-forward/tree/txt
1270+/* tre-404 %txt /tests/golden/types-partial-mold-forward/tree/txt
1262−/* typ-402 %txt /tests/golden/types-partial-mold-forward/types/txt
1271+/* typ-404 %txt /tests/golden/types-partial-mold-forward/types/txt
1263−/* src-403 %jibb /tests/golden/types-partial-mold-recursive/source/jibb
1272+/* src-405 %jibb /tests/golden/types-partial-mold-recursive/source/jibb
1264−/* tok-403 %txt /tests/golden/types-partial-mold-recursive/tokens/txt
1273+/* tok-405 %txt /tests/golden/types-partial-mold-recursive/tokens/txt
1265−/* tre-403 %txt /tests/golden/types-partial-mold-recursive/tree/txt
1274+/* tre-405 %txt /tests/golden/types-partial-mold-recursive/tree/txt
1266−/* typ-403 %txt /tests/golden/types-partial-mold-recursive/types/txt
1275+/* typ-405 %txt /tests/golden/types-partial-mold-recursive/types/txt
1267−/* src-404 %jibb /tests/golden/types-partial-occurs/source/jibb
1276+/* src-406 %jibb /tests/golden/types-partial-occurs/source/jibb
1268−/* tok-404 %txt /tests/golden/types-partial-occurs/tokens/txt
1277+/* tok-406 %txt /tests/golden/types-partial-occurs/tokens/txt
1269−/* tre-404 %txt /tests/golden/types-partial-occurs/tree/txt
1278+/* tre-406 %txt /tests/golden/types-partial-occurs/tree/txt
1270−/* typ-404 %txt /tests/golden/types-partial-occurs/types/txt
1279+/* typ-406 %txt /tests/golden/types-partial-occurs/types/txt
1271−/* src-405 %jibb /tests/golden/types-partial-projection/source/jibb
1280+/* src-407 %jibb /tests/golden/types-partial-projection/source/jibb
1272−/* tok-405 %txt /tests/golden/types-partial-projection/tokens/txt
1281+/* tok-407 %txt /tests/golden/types-partial-projection/tokens/txt
1273−/* tre-405 %txt /tests/golden/types-partial-projection/tree/txt
1282+/* tre-407 %txt /tests/golden/types-partial-projection/tree/txt
1274−/* typ-405 %txt /tests/golden/types-partial-projection/types/txt
1283+/* typ-407 %txt /tests/golden/types-partial-projection/types/txt
1275−/* src-406 %jibb /tests/golden/types-partial-shadow-global/source/jibb
1284+/* src-408 %jibb /tests/golden/types-partial-shadow-global/source/jibb
1276−/* tok-406 %txt /tests/golden/types-partial-shadow-global/tokens/txt
1285+/* tok-408 %txt /tests/golden/types-partial-shadow-global/tokens/txt
1277−/* tre-406 %txt /tests/golden/types-partial-shadow-global/tree/txt
1286+/* tre-408 %txt /tests/golden/types-partial-shadow-global/tree/txt
1278−/* typ-406 %txt /tests/golden/types-partial-shadow-global/types/txt
1287+/* typ-408 %txt /tests/golden/types-partial-shadow-global/types/txt
1279−/* src-407 %jibb /tests/golden/types-partial-shared-tvar/source/jibb
1288+/* src-409 %jibb /tests/golden/types-partial-shared-tvar/source/jibb
1280−/* tok-407 %txt /tests/golden/types-partial-shared-tvar/tokens/txt
1289+/* tok-409 %txt /tests/golden/types-partial-shared-tvar/tokens/txt
1281−/* tre-407 %txt /tests/golden/types-partial-shared-tvar/tree/txt
1290+/* tre-409 %txt /tests/golden/types-partial-shared-tvar/tree/txt
1282−/* typ-407 %txt /tests/golden/types-partial-shared-tvar/types/txt
1291+/* typ-409 %txt /tests/golden/types-partial-shared-tvar/types/txt
1283−/* src-408 %jibb /tests/golden/types-partial-union-cases/source/jibb
1292+/* src-410 %jibb /tests/golden/types-partial-union-cases/source/jibb
1284−/* tok-408 %txt /tests/golden/types-partial-union-cases/tokens/txt
1293+/* tok-410 %txt /tests/golden/types-partial-union-cases/tokens/txt
1285−/* tre-408 %txt /tests/golden/types-partial-union-cases/tree/txt
1294+/* tre-410 %txt /tests/golden/types-partial-union-cases/tree/txt
1286−/* typ-408 %txt /tests/golden/types-partial-union-cases/types/txt
1295+/* typ-410 %txt /tests/golden/types-partial-union-cases/types/txt
1287−/* src-409 %jibb /tests/golden/types-partial-union-edges/source/jibb
1296+/* src-411 %jibb /tests/golden/types-partial-union-edges/source/jibb
1288−/* tok-409 %txt /tests/golden/types-partial-union-edges/tokens/txt
1297+/* tok-411 %txt /tests/golden/types-partial-union-edges/tokens/txt
1289−/* tre-409 %txt /tests/golden/types-partial-union-edges/tree/txt
1298+/* tre-411 %txt /tests/golden/types-partial-union-edges/tree/txt
1290−/* typ-409 %txt /tests/golden/types-partial-union-edges/types/txt
1299+/* typ-411 %txt /tests/golden/types-partial-union-edges/types/txt
1291−/* src-410 %jibb /tests/golden/types-partial-unresolved-tag/source/jibb
1300+/* src-412 %jibb /tests/golden/types-partial-unresolved-tag/source/jibb
1292−/* tok-410 %txt /tests/golden/types-partial-unresolved-tag/tokens/txt
1301+/* tok-412 %txt /tests/golden/types-partial-unresolved-tag/tokens/txt
1293−/* tre-410 %txt /tests/golden/types-partial-unresolved-tag/tree/txt
1302+/* tre-412 %txt /tests/golden/types-partial-unresolved-tag/tree/txt
1294−/* typ-410 %txt /tests/golden/types-partial-unresolved-tag/types/txt
1303+/* typ-412 %txt /tests/golden/types-partial-unresolved-tag/types/txt
1296:: one arm per case
1305:: one arm per case
@@ -2057,64 +2066,68 @@
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))
2066 (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
2067++ 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]]))
2068 (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]]))
2069+++ test-types-import-missing-mold
2070+ (weld (check ~.types-import-missing-mold src-382 `tok-382 `tre-382) (check-import-types ~.types-import-missing-mold ~[%tests %golden ~.types-import-missing-mold %source %jibb] src-382 `typ-382 ~[[%fixture %missing imp-382-1]]))
2060++ test-types-import-sur
2071++ test-types-import-sur
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]]))
2072+ (weld (check ~.types-import-sur src-383 `tok-383 `tre-383) (check-import-types ~.types-import-sur ~[%tests %golden ~.types-import-sur %source %jibb] src-383 `typ-383 ~[[%fixture %title imp-383-1] [%fixture %pair imp-383-2]]))
2062++ test-types-partial-apply
2073++ test-types-partial-apply
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))
2074+ (weld (check ~.types-partial-apply src-384 `tok-384 `tre-384) (check-types ~.types-partial-apply ~[%tests %golden ~.types-partial-apply %source %jibb] src-384 `typ-384))
2064++ test-types-partial-atom-alias
2075++ 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))
2076+ (weld (check ~.types-partial-atom-alias src-385 `tok-385 `tre-385) (check-types ~.types-partial-atom-alias ~[%tests %golden ~.types-partial-atom-alias %source %jibb] src-385 `typ-385))
2066++ test-types-partial-atom-constraint
2077++ test-types-partial-atom-constraint
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))
2078+ (weld (check ~.types-partial-atom-constraint src-386 `tok-386 `tre-386) (check-types ~.types-partial-atom-constraint ~[%tests %golden ~.types-partial-atom-constraint %source %jibb] src-386 `typ-386))
2068++ test-types-partial-atom-widening
2079++ test-types-partial-atom-widening
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))
2080+ (weld (check ~.types-partial-atom-widening src-387 `tok-387 `tre-387) (check-types ~.types-partial-atom-widening ~[%tests %golden ~.types-partial-atom-widening %source %jibb] src-387 `typ-387))
2070++ test-types-partial-aura
2081++ test-types-partial-aura
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))
2082+ (weld (check ~.types-partial-aura src-388 `tok-388 `tre-388) (check-types ~.types-partial-aura ~[%tests %golden ~.types-partial-aura %source %jibb] src-388 `typ-388))
2072++ test-types-partial-aura-family
2083++ test-types-partial-aura-family
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))
2084+ (weld (check ~.types-partial-aura-family src-389 `tok-389 `tre-389) (check-types ~.types-partial-aura-family ~[%tests %golden ~.types-partial-aura-family %source %jibb] src-389 `typ-389))
2074++ test-types-partial-aura-generalization
2085++ test-types-partial-aura-generalization
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))
2086+ (weld (check ~.types-partial-aura-generalization src-390 `tok-390 `tre-390) (check-types ~.types-partial-aura-generalization ~[%tests %golden ~.types-partial-aura-generalization %source %jibb] src-390 `typ-390))
2076++ test-types-partial-bare-atom
2087++ test-types-partial-bare-atom
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))
2088+ (weld (check ~.types-partial-bare-atom src-391 `tok-391 `tre-391) (check-types ~.types-partial-bare-atom ~[%tests %golden ~.types-partial-bare-atom %source %jibb] src-391 `typ-391))
2078++ test-types-partial-branch-widening
2089++ 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))
2090+ (weld (check ~.types-partial-branch-widening src-392 `tok-392 `tre-392) (check-types ~.types-partial-branch-widening ~[%tests %golden ~.types-partial-branch-widening %source %jibb] src-392 `typ-392))
2080++ test-types-partial-conflicting-sites
2091++ test-types-partial-conflicting-sites
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))
2092+ (weld (check ~.types-partial-conflicting-sites src-393 `tok-393 `tre-393) (check-types ~.types-partial-conflicting-sites ~[%tests %golden ~.types-partial-conflicting-sites %source %jibb] src-393 `typ-393))
2093+++ test-types-partial-decimal-default
2094+ (weld (check ~.types-partial-decimal-default src-394 `tok-394 `tre-394) (check-types ~.types-partial-decimal-default ~[%tests %golden ~.types-partial-decimal-default %source %jibb] src-394 `typ-394))
2082++ test-types-partial-dependency-chain
2095++ test-types-partial-dependency-chain
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))
2096+ (weld (check ~.types-partial-dependency-chain src-395 `tok-395 `tre-395) (check-types ~.types-partial-dependency-chain ~[%tests %golden ~.types-partial-dependency-chain %source %jibb] src-395 `typ-395))
2084++ test-types-partial-explicit-capital
2097++ test-types-partial-explicit-capital
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))
2098+ (weld (check ~.types-partial-explicit-capital src-396 `tok-396 `tre-396) (check-types ~.types-partial-explicit-capital ~[%tests %golden ~.types-partial-explicit-capital %source %jibb] src-396 `typ-396))
2086++ test-types-partial-forward
2099++ test-types-partial-forward
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))
2100+ (weld (check ~.types-partial-forward src-397 `tok-397 `tre-397) (check-types ~.types-partial-forward ~[%tests %golden ~.types-partial-forward %source %jibb] src-397 `typ-397))
2088++ test-types-partial-generalization
2101++ test-types-partial-generalization
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))
2102+ (weld (check ~.types-partial-generalization src-398 `tok-398 `tre-398) (check-types ~.types-partial-generalization ~[%tests %golden ~.types-partial-generalization %source %jibb] src-398 `typ-398))
2090++ test-types-partial-identity
2103++ test-types-partial-identity
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))
2104+ (weld (check ~.types-partial-identity src-399 `tok-399 `tre-399) (check-types ~.types-partial-identity ~[%tests %golden ~.types-partial-identity %source %jibb] src-399 `typ-399))
2092++ test-types-partial-independent-atoms
2105++ test-types-partial-independent-atoms
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))
2106+ (weld (check ~.types-partial-independent-atoms src-400 `tok-400 `tre-400) (check-types ~.types-partial-independent-atoms ~[%tests %golden ~.types-partial-independent-atoms %source %jibb] src-400 `typ-400))
2094++ test-types-partial-many-atom-constraints
2107++ test-types-partial-many-atom-constraints
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))
2108+ (weld (check ~.types-partial-many-atom-constraints src-401 `tok-401 `tre-401) (check-types ~.types-partial-many-atom-constraints ~[%tests %golden ~.types-partial-many-atom-constraints %source %jibb] src-401 `typ-401))
2096++ test-types-partial-mold-bare-aura
2109++ test-types-partial-mold-bare-aura
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))
2110+ (weld (check ~.types-partial-mold-bare-aura src-402 `tok-402 `tre-402) (check-types ~.types-partial-mold-bare-aura ~[%tests %golden ~.types-partial-mold-bare-aura %source %jibb] src-402 `typ-402))
2098++ test-types-partial-mold-composite
2111++ test-types-partial-mold-composite
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))
2112+ (weld (check ~.types-partial-mold-composite src-403 `tok-403 `tre-403) (check-types ~.types-partial-mold-composite ~[%tests %golden ~.types-partial-mold-composite %source %jibb] src-403 `typ-403))
2100++ test-types-partial-mold-forward
2113++ test-types-partial-mold-forward
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))
2114+ (weld (check ~.types-partial-mold-forward src-404 `tok-404 `tre-404) (check-types ~.types-partial-mold-forward ~[%tests %golden ~.types-partial-mold-forward %source %jibb] src-404 `typ-404))
2102++ test-types-partial-mold-recursive
2115++ test-types-partial-mold-recursive
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))
2116+ (weld (check ~.types-partial-mold-recursive src-405 `tok-405 `tre-405) (check-types ~.types-partial-mold-recursive ~[%tests %golden ~.types-partial-mold-recursive %source %jibb] src-405 `typ-405))
2104++ test-types-partial-occurs
2117++ test-types-partial-occurs
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))
2118+ (weld (check ~.types-partial-occurs src-406 `tok-406 `tre-406) (check-types ~.types-partial-occurs ~[%tests %golden ~.types-partial-occurs %source %jibb] src-406 `typ-406))
2106++ test-types-partial-projection
2119++ test-types-partial-projection
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))
2120+ (weld (check ~.types-partial-projection src-407 `tok-407 `tre-407) (check-types ~.types-partial-projection ~[%tests %golden ~.types-partial-projection %source %jibb] src-407 `typ-407))
2108++ test-types-partial-shadow-global
2121++ test-types-partial-shadow-global
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))
2122+ (weld (check ~.types-partial-shadow-global src-408 `tok-408 `tre-408) (check-types ~.types-partial-shadow-global ~[%tests %golden ~.types-partial-shadow-global %source %jibb] src-408 `typ-408))
2110++ test-types-partial-shared-tvar
2123++ test-types-partial-shared-tvar
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))
2124+ (weld (check ~.types-partial-shared-tvar src-409 `tok-409 `tre-409) (check-types ~.types-partial-shared-tvar ~[%tests %golden ~.types-partial-shared-tvar %source %jibb] src-409 `typ-409))
2112++ test-types-partial-union-cases
2125++ test-types-partial-union-cases
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))
2126+ (weld (check ~.types-partial-union-cases src-410 `tok-410 `tre-410) (check-types ~.types-partial-union-cases ~[%tests %golden ~.types-partial-union-cases %source %jibb] src-410 `typ-410))
2114++ test-types-partial-union-edges
2127++ test-types-partial-union-edges
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))
2128+ (weld (check ~.types-partial-union-edges src-411 `tok-411 `tre-411) (check-types ~.types-partial-union-edges ~[%tests %golden ~.types-partial-union-edges %source %jibb] src-411 `typ-411))
2116++ test-types-partial-unresolved-tag
2129++ test-types-partial-unresolved-tag
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))
2130+ (weld (check ~.types-partial-unresolved-tag src-412 `tok-412 `tre-412) (check-types ~.types-partial-unresolved-tag ~[%tests %golden ~.types-partial-unresolved-tag %source %jibb] src-412 `typ-412))
2119:: +check: run golden:jibb on a case and compare both outputs
2132:: +check: run golden:jibb on a case and compare both outputs
@@ -2179,34 +2192,50 @@
2179++ check-import-types
2192++ check-import-types
2180 |= [case=@ta at=path src=@t want=(unit wain) fixtures=(list [module=term mold=term source=wain])]
2193 |= [case=@ta at=path src=@t want=(unit wain) fixtures=(list [module=term mold=term source=wain])]
2182− ?: (lien fixtures |=(f=[module=term mold=term source=wain] ?=(~ source.f)))
2195+ =/ result (mule |.((import-types-result at src fixtures)))
2183− ~[leaf+"an imported Hoon fixture is missing or empty"]
2196+ ?: ?=(%| -.result)
2197+ [leaf+"fixture compilation or type checking crashed" p.result]
2198+ (compare (file case "types.txt") want p.result)
2200+++ import-types-result
2201+ |= [at=path src=@t fixtures=(list [module=term mold=term source=wain])]
2184 =/ external=(list [module=term name=term result=*])
2203 =/ external=(list [module=term name=term result=*])
2185 %+ turn fixtures
2204 %+ turn fixtures
2186 |= fixture=[module=term mold=term source=wain]
2205 |= fixture=[module=term mold=term source=wain]
2206+ ~_ leaf+"/sur/{(trip module.fixture)}.txt fixture"
2207+ ?~ source.fixture !!
2187 =/ text=@t (rap 3 (turn source.fixture |=(line=@t (cat 3 line '\0a'))))
2208 =/ text=@t (rap 3 (turn source.fixture |=(line=@t (cat 3 line '\0a'))))
2188 =/ cor=type -:(ride -:!>(..zuse) text)
2209 =/ cor=type -:(ride -:!>(..zuse) text)
2189− =/ typ=type (~(play ut cor) (ream (cat 3 '*' mold.fixture)))
2190− [module.fixture mold.fixture (read-mold-in:jibb-import module.fixture mold.fixture typ cor)]
2210+ [module.fixture mold.fixture (read-named:jibb-import module.fixture mold.fixture cor)]
2191− (compare (file case "types.txt") want (golden-types-imports:jibb at src external))
2211+ (golden-types-imports:jibb at src external)
2193++ check-mark-types
2213++ 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])]
2214 |= [case=@ta at=path src=@t want=(unit wain) fixtures=(list [module=term mold=term source=wain]) marks=(list [name=term source=wain])]
2196− ?: |((lien fixtures |=(f=[module=term mold=term source=wain] ?=(~ source.f))) (lien marks |=(m=[name=term source=wain] ?=(~ source.m))))
2216+ =/ result (mule |.((mark-types-result at src fixtures marks)))
2197− ~[leaf+"an imported Hoon fixture is missing or empty"]
2217+ ?: ?=(%| -.result)
2218+ [leaf+"fixture compilation or type checking crashed" p.result]
2219+ (compare (file case "types.txt") want p.result)
2221+++ mark-types-result
2222+ |= [at=path src=@t fixtures=(list [module=term mold=term source=wain]) marks=(list [name=term source=wain])]
2198 =/ external=(list [module=term name=term result=*])
2224 =/ external=(list [module=term name=term result=*])
2199 %+ turn fixtures
2225 %+ turn fixtures
2200 |= fixture=[module=term mold=term source=wain]
2226 |= fixture=[module=term mold=term source=wain]
2227+ ~_ leaf+"/sur/{(trip module.fixture)}.txt fixture"
2228+ ?~ source.fixture !!
2201 =/ text=@t (rap 3 (turn source.fixture |=(line=@t (cat 3 line '\0a'))))
2229 =/ text=@t (rap 3 (turn source.fixture |=(line=@t (cat 3 line '\0a'))))
2202 =/ cor=type -:(ride -:!>(..zuse) text)
2230 =/ 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)]
2231+ [module.fixture mold.fixture (read-named:jibb-import module.fixture mold.fixture cor)]
2205 =/ mark-external=(list [name=term result=*])
2232 =/ mark-external=(list [name=term result=*])
2206 %+ turn marks
2233 %+ turn marks
2207 |= fixture=[name=term source=wain]
2234 |= fixture=[name=term source=wain]
2235+ ~_ leaf+"/mar/{(trip name.fixture)}.txt fixture"
2236+ ?~ source.fixture !!
2208 =/ text=@t (rap 3 (turn source.fixture |=(line=@t (cat 3 line '\0a'))))
2237 =/ text=@t (rap 3 (turn source.fixture |=(line=@t (cat 3 line '\0a'))))
2209 =/ cor=type -:(ride -:!>(..zuse) text)
2238 =/ cor=type -:(ride -:!>(..zuse) text)
2210 [name.fixture (read-mark:jibb-import name.fixture cor)]
2239 [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))
2240+ (golden-types-with-marks:jibb at src external mark-external)