@@ -19,7 +19,7 @@
19:: after it), so only tools/golden, and tools/ship test's own warning,
19:: after it), so only tools/golden, and tools/ship test's own warning,
20:: catch an expected file without its final newline.
20:: catch an expected file without its final newline.
22−/+ jibb
22+/+ jibb, jibb-import
23/* src-1 %jibb /tests/golden/doc-core-02-update/source/jibb
23/* src-1 %jibb /tests/golden/doc-core-02-update/source/jibb
24/* tok-1 %txt /tests/golden/doc-core-02-update/tokens/txt
24/* tok-1 %txt /tests/golden/doc-core-02-update/tokens/txt
25/* tre-1 %txt /tests/golden/doc-core-02-update/tree/txt
25/* tre-1 %txt /tests/golden/doc-core-02-update/tree/txt
@@ -1136,90 +1136,112 @@
1136/* src-372 %jibb /tests/golden/lex-tight-wing-ok-1/source/jibb
1136/* src-372 %jibb /tests/golden/lex-tight-wing-ok-1/source/jibb
1137/* tok-372 %txt /tests/golden/lex-tight-wing-ok-1/tokens/txt
1137/* tok-372 %txt /tests/golden/lex-tight-wing-ok-1/tokens/txt
1138/* tre-372 %txt /tests/golden/lex-tight-wing-ok-1/tree/txt
1138/* tre-372 %txt /tests/golden/lex-tight-wing-ok-1/tree/txt
1139−/* src-373 %jibb /tests/golden/prelude-core-functions/source/jibb
1139+/* src-373 %jibb /tests/golden/prelude-3g-basic/source/jibb
1140+/* tok-373 %txt /tests/golden/prelude-3g-basic/tokens/txt
1141+/* tre-373 %txt /tests/golden/prelude-3g-basic/tree/txt
1142+/* typ-373 %txt /tests/golden/prelude-3g-basic/types/txt
1143+/* src-374 %jibb /tests/golden/prelude-core-functions/source/jibb
1140−/* tok-373 %txt /tests/golden/prelude-core-functions/tokens/txt
1144+/* tok-374 %txt /tests/golden/prelude-core-functions/tokens/txt
1141−/* tre-373 %txt /tests/golden/prelude-core-functions/tree/txt
1145+/* tre-374 %txt /tests/golden/prelude-core-functions/tree/txt
1142−/* typ-373 %txt /tests/golden/prelude-core-functions/types/txt
1146+/* typ-374 %txt /tests/golden/prelude-core-functions/types/txt
1143−/* src-374 %jibb /tests/golden/prelude-list-unit/source/jibb
1147+/* src-375 %jibb /tests/golden/prelude-list-unit/source/jibb
1144−/* tok-374 %txt /tests/golden/prelude-list-unit/tokens/txt
1148+/* tok-375 %txt /tests/golden/prelude-list-unit/tokens/txt
1145−/* tre-374 %txt /tests/golden/prelude-list-unit/tree/txt
1149+/* tre-375 %txt /tests/golden/prelude-list-unit/tree/txt
1146−/* typ-374 %txt /tests/golden/prelude-list-unit/types/txt
1150+/* typ-375 %txt /tests/golden/prelude-list-unit/types/txt
1151+/* src-376 %jibb /tests/golden/types-import-sur/source/jibb
1152+/* tok-376 %txt /tests/golden/types-import-sur/tokens/txt
1153+/* tre-376 %txt /tests/golden/types-import-sur/tree/txt
1154+/* typ-376 %txt /tests/golden/types-import-sur/types/txt
1155+/* imp-376-1 %txt /tests/golden/types-import-sur/sur/fixture/txt
1156+/* imp-376-2 %txt /tests/golden/types-import-sur/sur/fixture/txt
1147−/* src-375 %jibb /tests/golden/types-partial-apply/source/jibb
1157+/* src-377 %jibb /tests/golden/types-partial-apply/source/jibb
1148−/* tok-375 %txt /tests/golden/types-partial-apply/tokens/txt
1158+/* tok-377 %txt /tests/golden/types-partial-apply/tokens/txt
1149−/* tre-375 %txt /tests/golden/types-partial-apply/tree/txt
1159+/* tre-377 %txt /tests/golden/types-partial-apply/tree/txt
1150−/* typ-375 %txt /tests/golden/types-partial-apply/types/txt
1160+/* typ-377 %txt /tests/golden/types-partial-apply/types/txt
1161+/* src-378 %jibb /tests/golden/types-partial-atom-widening/source/jibb
1162+/* tok-378 %txt /tests/golden/types-partial-atom-widening/tokens/txt
1163+/* tre-378 %txt /tests/golden/types-partial-atom-widening/tree/txt
1164+/* typ-378 %txt /tests/golden/types-partial-atom-widening/types/txt
1151−/* src-376 %jibb /tests/golden/types-partial-aura/source/jibb
1165+/* src-379 %jibb /tests/golden/types-partial-aura/source/jibb
1152−/* tok-376 %txt /tests/golden/types-partial-aura/tokens/txt
1166+/* tok-379 %txt /tests/golden/types-partial-aura/tokens/txt
1153−/* tre-376 %txt /tests/golden/types-partial-aura/tree/txt
1167+/* tre-379 %txt /tests/golden/types-partial-aura/tree/txt
1154−/* typ-376 %txt /tests/golden/types-partial-aura/types/txt
1168+/* typ-379 %txt /tests/golden/types-partial-aura/types/txt
1155−/* src-377 %jibb /tests/golden/types-partial-aura-generalization/source/jibb
1169+/* src-380 %jibb /tests/golden/types-partial-aura-generalization/source/jibb
1156−/* tok-377 %txt /tests/golden/types-partial-aura-generalization/tokens/txt
1170+/* tok-380 %txt /tests/golden/types-partial-aura-generalization/tokens/txt
1157−/* tre-377 %txt /tests/golden/types-partial-aura-generalization/tree/txt
1171+/* tre-380 %txt /tests/golden/types-partial-aura-generalization/tree/txt
1158−/* typ-377 %txt /tests/golden/types-partial-aura-generalization/types/txt
1172+/* typ-380 %txt /tests/golden/types-partial-aura-generalization/types/txt
1159−/* src-378 %jibb /tests/golden/types-partial-bare-atom/source/jibb
1173+/* src-381 %jibb /tests/golden/types-partial-bare-atom/source/jibb
1160−/* tok-378 %txt /tests/golden/types-partial-bare-atom/tokens/txt
1174+/* tok-381 %txt /tests/golden/types-partial-bare-atom/tokens/txt
1161−/* tre-378 %txt /tests/golden/types-partial-bare-atom/tree/txt
1175+/* tre-381 %txt /tests/golden/types-partial-bare-atom/tree/txt
1162−/* typ-378 %txt /tests/golden/types-partial-bare-atom/types/txt
1176+/* typ-381 %txt /tests/golden/types-partial-bare-atom/types/txt
1177+/* src-382 %jibb /tests/golden/types-partial-dependency-chain/source/jibb
1178+/* tok-382 %txt /tests/golden/types-partial-dependency-chain/tokens/txt
1179+/* tre-382 %txt /tests/golden/types-partial-dependency-chain/tree/txt
1180+/* typ-382 %txt /tests/golden/types-partial-dependency-chain/types/txt
1163−/* src-379 %jibb /tests/golden/types-partial-dependency-chain/source/jibb
1181+/* src-383 %jibb /tests/golden/types-partial-explicit-capital/source/jibb
1164−/* tok-379 %txt /tests/golden/types-partial-dependency-chain/tokens/txt
1182+/* tok-383 %txt /tests/golden/types-partial-explicit-capital/tokens/txt
1165−/* tre-379 %txt /tests/golden/types-partial-dependency-chain/tree/txt
1183+/* tre-383 %txt /tests/golden/types-partial-explicit-capital/tree/txt
1166−/* typ-379 %txt /tests/golden/types-partial-dependency-chain/types/txt
1184+/* typ-383 %txt /tests/golden/types-partial-explicit-capital/types/txt
1167−/* src-380 %jibb /tests/golden/types-partial-explicit-capital/source/jibb
1185+/* src-384 %jibb /tests/golden/types-partial-forward/source/jibb
1168−/* tok-380 %txt /tests/golden/types-partial-explicit-capital/tokens/txt
1186+/* tok-384 %txt /tests/golden/types-partial-forward/tokens/txt
1169−/* tre-380 %txt /tests/golden/types-partial-explicit-capital/tree/txt
1187+/* tre-384 %txt /tests/golden/types-partial-forward/tree/txt
1170−/* typ-380 %txt /tests/golden/types-partial-explicit-capital/types/txt
1188+/* typ-384 %txt /tests/golden/types-partial-forward/types/txt
1171−/* src-381 %jibb /tests/golden/types-partial-forward/source/jibb
1189+/* src-385 %jibb /tests/golden/types-partial-generalization/source/jibb
1172−/* tok-381 %txt /tests/golden/types-partial-forward/tokens/txt
1190+/* tok-385 %txt /tests/golden/types-partial-generalization/tokens/txt
1173−/* tre-381 %txt /tests/golden/types-partial-forward/tree/txt
1191+/* tre-385 %txt /tests/golden/types-partial-generalization/tree/txt
1174−/* typ-381 %txt /tests/golden/types-partial-forward/types/txt
1192+/* typ-385 %txt /tests/golden/types-partial-generalization/types/txt
1175−/* src-382 %jibb /tests/golden/types-partial-generalization/source/jibb
1193+/* src-386 %jibb /tests/golden/types-partial-identity/source/jibb
1176−/* tok-382 %txt /tests/golden/types-partial-generalization/tokens/txt
1194+/* tok-386 %txt /tests/golden/types-partial-identity/tokens/txt
1177−/* tre-382 %txt /tests/golden/types-partial-generalization/tree/txt
1195+/* tre-386 %txt /tests/golden/types-partial-identity/tree/txt
1178−/* typ-382 %txt /tests/golden/types-partial-generalization/types/txt
1196+/* typ-386 %txt /tests/golden/types-partial-identity/types/txt
1179−/* src-383 %jibb /tests/golden/types-partial-identity/source/jibb
1197+/* src-387 %jibb /tests/golden/types-partial-independent-atoms/source/jibb
1180−/* tok-383 %txt /tests/golden/types-partial-identity/tokens/txt
1198+/* tok-387 %txt /tests/golden/types-partial-independent-atoms/tokens/txt
1181−/* tre-383 %txt /tests/golden/types-partial-identity/tree/txt
1199+/* tre-387 %txt /tests/golden/types-partial-independent-atoms/tree/txt
1182−/* typ-383 %txt /tests/golden/types-partial-identity/types/txt
1200+/* typ-387 %txt /tests/golden/types-partial-independent-atoms/types/txt
1183−/* src-384 %jibb /tests/golden/types-partial-mold-bare-aura/source/jibb
1201+/* src-388 %jibb /tests/golden/types-partial-mold-bare-aura/source/jibb
1184−/* tok-384 %txt /tests/golden/types-partial-mold-bare-aura/tokens/txt
1202+/* tok-388 %txt /tests/golden/types-partial-mold-bare-aura/tokens/txt
1185−/* tre-384 %txt /tests/golden/types-partial-mold-bare-aura/tree/txt
1203+/* tre-388 %txt /tests/golden/types-partial-mold-bare-aura/tree/txt
1186−/* typ-384 %txt /tests/golden/types-partial-mold-bare-aura/types/txt
1204+/* typ-388 %txt /tests/golden/types-partial-mold-bare-aura/types/txt
1187−/* src-385 %jibb /tests/golden/types-partial-mold-composite/source/jibb
1205+/* src-389 %jibb /tests/golden/types-partial-mold-composite/source/jibb
1188−/* tok-385 %txt /tests/golden/types-partial-mold-composite/tokens/txt
1206+/* tok-389 %txt /tests/golden/types-partial-mold-composite/tokens/txt
1189−/* tre-385 %txt /tests/golden/types-partial-mold-composite/tree/txt
1207+/* tre-389 %txt /tests/golden/types-partial-mold-composite/tree/txt
1190−/* typ-385 %txt /tests/golden/types-partial-mold-composite/types/txt
1208+/* typ-389 %txt /tests/golden/types-partial-mold-composite/types/txt
1191−/* src-386 %jibb /tests/golden/types-partial-mold-forward/source/jibb
1209+/* src-390 %jibb /tests/golden/types-partial-mold-forward/source/jibb
1192−/* tok-386 %txt /tests/golden/types-partial-mold-forward/tokens/txt
1210+/* tok-390 %txt /tests/golden/types-partial-mold-forward/tokens/txt
1193−/* tre-386 %txt /tests/golden/types-partial-mold-forward/tree/txt
1211+/* tre-390 %txt /tests/golden/types-partial-mold-forward/tree/txt
1194−/* typ-386 %txt /tests/golden/types-partial-mold-forward/types/txt
1212+/* typ-390 %txt /tests/golden/types-partial-mold-forward/types/txt
1195−/* src-387 %jibb /tests/golden/types-partial-mold-recursive/source/jibb
1213+/* src-391 %jibb /tests/golden/types-partial-mold-recursive/source/jibb
1196−/* tok-387 %txt /tests/golden/types-partial-mold-recursive/tokens/txt
1214+/* tok-391 %txt /tests/golden/types-partial-mold-recursive/tokens/txt
1197−/* tre-387 %txt /tests/golden/types-partial-mold-recursive/tree/txt
1215+/* tre-391 %txt /tests/golden/types-partial-mold-recursive/tree/txt
1198−/* typ-387 %txt /tests/golden/types-partial-mold-recursive/types/txt
1216+/* typ-391 %txt /tests/golden/types-partial-mold-recursive/types/txt
1199−/* src-388 %jibb /tests/golden/types-partial-occurs/source/jibb
1217+/* src-392 %jibb /tests/golden/types-partial-occurs/source/jibb
1200−/* tok-388 %txt /tests/golden/types-partial-occurs/tokens/txt
1218+/* tok-392 %txt /tests/golden/types-partial-occurs/tokens/txt
1201−/* tre-388 %txt /tests/golden/types-partial-occurs/tree/txt
1219+/* tre-392 %txt /tests/golden/types-partial-occurs/tree/txt
1202−/* typ-388 %txt /tests/golden/types-partial-occurs/types/txt
1220+/* typ-392 %txt /tests/golden/types-partial-occurs/types/txt
1203−/* src-389 %jibb /tests/golden/types-partial-projection/source/jibb
1221+/* src-393 %jibb /tests/golden/types-partial-projection/source/jibb
1204−/* tok-389 %txt /tests/golden/types-partial-projection/tokens/txt
1222+/* tok-393 %txt /tests/golden/types-partial-projection/tokens/txt
1205−/* tre-389 %txt /tests/golden/types-partial-projection/tree/txt
1223+/* tre-393 %txt /tests/golden/types-partial-projection/tree/txt
1206−/* typ-389 %txt /tests/golden/types-partial-projection/types/txt
1224+/* typ-393 %txt /tests/golden/types-partial-projection/types/txt
1207−/* src-390 %jibb /tests/golden/types-partial-shadow-global/source/jibb
1225+/* src-394 %jibb /tests/golden/types-partial-shadow-global/source/jibb
1208−/* tok-390 %txt /tests/golden/types-partial-shadow-global/tokens/txt
1226+/* tok-394 %txt /tests/golden/types-partial-shadow-global/tokens/txt
1209−/* tre-390 %txt /tests/golden/types-partial-shadow-global/tree/txt
1227+/* tre-394 %txt /tests/golden/types-partial-shadow-global/tree/txt
1210−/* typ-390 %txt /tests/golden/types-partial-shadow-global/types/txt
1228+/* typ-394 %txt /tests/golden/types-partial-shadow-global/types/txt
1211−/* src-391 %jibb /tests/golden/types-partial-shared-tvar/source/jibb
1229+/* src-395 %jibb /tests/golden/types-partial-shared-tvar/source/jibb
1212−/* tok-391 %txt /tests/golden/types-partial-shared-tvar/tokens/txt
1230+/* tok-395 %txt /tests/golden/types-partial-shared-tvar/tokens/txt
1213−/* tre-391 %txt /tests/golden/types-partial-shared-tvar/tree/txt
1231+/* tre-395 %txt /tests/golden/types-partial-shared-tvar/tree/txt
1214−/* typ-391 %txt /tests/golden/types-partial-shared-tvar/types/txt
1232+/* typ-395 %txt /tests/golden/types-partial-shared-tvar/types/txt
1215−/* src-392 %jibb /tests/golden/types-partial-union-cases/source/jibb
1233+/* src-396 %jibb /tests/golden/types-partial-union-cases/source/jibb
1216−/* tok-392 %txt /tests/golden/types-partial-union-cases/tokens/txt
1234+/* tok-396 %txt /tests/golden/types-partial-union-cases/tokens/txt
1217−/* tre-392 %txt /tests/golden/types-partial-union-cases/tree/txt
1235+/* tre-396 %txt /tests/golden/types-partial-union-cases/tree/txt
1218−/* typ-392 %txt /tests/golden/types-partial-union-cases/types/txt
1236+/* typ-396 %txt /tests/golden/types-partial-union-cases/types/txt
1237+/* src-397 %jibb /tests/golden/types-partial-union-edges/source/jibb
1238+/* tok-397 %txt /tests/golden/types-partial-union-edges/tokens/txt
1239+/* tre-397 %txt /tests/golden/types-partial-union-edges/tree/txt
1240+/* typ-397 %txt /tests/golden/types-partial-union-edges/types/txt
1219−/* src-393 %jibb /tests/golden/types-partial-unresolved-tag/source/jibb
1241+/* src-398 %jibb /tests/golden/types-partial-unresolved-tag/source/jibb
1220−/* tok-393 %txt /tests/golden/types-partial-unresolved-tag/tokens/txt
1242+/* tok-398 %txt /tests/golden/types-partial-unresolved-tag/tokens/txt
1221−/* tre-393 %txt /tests/golden/types-partial-unresolved-tag/tree/txt
1243+/* tre-398 %txt /tests/golden/types-partial-unresolved-tag/tree/txt
1222−/* typ-393 %txt /tests/golden/types-partial-unresolved-tag/types/txt
1244+/* typ-398 %txt /tests/golden/types-partial-unresolved-tag/types/txt
1224:: one arm per case
1246:: one arm per case
@@ -1967,48 +1989,58 @@
1967 (check ~.lex-tight-wing-bad-1 src-371 `tok-371 `tre-371)
1989 (check ~.lex-tight-wing-bad-1 src-371 `tok-371 `tre-371)
1968++ test-lex-tight-wing-ok-1
1990++ test-lex-tight-wing-ok-1
1969 (check ~.lex-tight-wing-ok-1 src-372 `tok-372 `tre-372)
1991 (check ~.lex-tight-wing-ok-1 src-372 `tok-372 `tre-372)
1992+++ test-prelude-3g-basic
1993+ (weld (check ~.prelude-3g-basic src-373 `tok-373 `tre-373) (check-types ~.prelude-3g-basic ~[%tests %golden ~.prelude-3g-basic %source %jibb] src-373 `typ-373))
1970++ test-prelude-core-functions
1994++ test-prelude-core-functions
1971− (weld (check ~.prelude-core-functions src-373 `tok-373 `tre-373) (check-types ~.prelude-core-functions ~[%tests %golden ~.prelude-core-functions %source %jibb] src-373 `typ-373))
1995+ (weld (check ~.prelude-core-functions src-374 `tok-374 `tre-374) (check-types ~.prelude-core-functions ~[%tests %golden ~.prelude-core-functions %source %jibb] src-374 `typ-374))
1972++ test-prelude-list-unit
1996++ test-prelude-list-unit
1973− (weld (check ~.prelude-list-unit src-374 `tok-374 `tre-374) (check-types ~.prelude-list-unit ~[%tests %golden ~.prelude-list-unit %source %jibb] src-374 `typ-374))
1997+ (weld (check ~.prelude-list-unit src-375 `tok-375 `tre-375) (check-types ~.prelude-list-unit ~[%tests %golden ~.prelude-list-unit %source %jibb] src-375 `typ-375))
1998+++ test-types-import-sur
1999+ (weld (check ~.types-import-sur src-376 `tok-376 `tre-376) (check-import-types ~.types-import-sur ~[%tests %golden ~.types-import-sur %source %jibb] src-376 `typ-376 ~[[%fixture %title imp-376-1] [%fixture %pair imp-376-2]]))
1974++ test-types-partial-apply
2000++ test-types-partial-apply
1975− (weld (check ~.types-partial-apply src-375 `tok-375 `tre-375) (check-types ~.types-partial-apply ~[%tests %golden ~.types-partial-apply %source %jibb] src-375 `typ-375))
2001+ (weld (check ~.types-partial-apply src-377 `tok-377 `tre-377) (check-types ~.types-partial-apply ~[%tests %golden ~.types-partial-apply %source %jibb] src-377 `typ-377))
2002+++ test-types-partial-atom-widening
2003+ (weld (check ~.types-partial-atom-widening src-378 `tok-378 `tre-378) (check-types ~.types-partial-atom-widening ~[%tests %golden ~.types-partial-atom-widening %source %jibb] src-378 `typ-378))
1976++ test-types-partial-aura
2004++ test-types-partial-aura
1977− (weld (check ~.types-partial-aura src-376 `tok-376 `tre-376) (check-types ~.types-partial-aura ~[%tests %golden ~.types-partial-aura %source %jibb] src-376 `typ-376))
2005+ (weld (check ~.types-partial-aura src-379 `tok-379 `tre-379) (check-types ~.types-partial-aura ~[%tests %golden ~.types-partial-aura %source %jibb] src-379 `typ-379))
1978++ test-types-partial-aura-generalization
2006++ test-types-partial-aura-generalization
1979− (weld (check ~.types-partial-aura-generalization src-377 `tok-377 `tre-377) (check-types ~.types-partial-aura-generalization ~[%tests %golden ~.types-partial-aura-generalization %source %jibb] src-377 `typ-377))
2007+ (weld (check ~.types-partial-aura-generalization src-380 `tok-380 `tre-380) (check-types ~.types-partial-aura-generalization ~[%tests %golden ~.types-partial-aura-generalization %source %jibb] src-380 `typ-380))
1980++ test-types-partial-bare-atom
2008++ test-types-partial-bare-atom
1981− (weld (check ~.types-partial-bare-atom src-378 `tok-378 `tre-378) (check-types ~.types-partial-bare-atom ~[%tests %golden ~.types-partial-bare-atom %source %jibb] src-378 `typ-378))
2009+ (weld (check ~.types-partial-bare-atom src-381 `tok-381 `tre-381) (check-types ~.types-partial-bare-atom ~[%tests %golden ~.types-partial-bare-atom %source %jibb] src-381 `typ-381))
1982++ test-types-partial-dependency-chain
2010++ test-types-partial-dependency-chain
1983− (weld (check ~.types-partial-dependency-chain src-379 `tok-379 `tre-379) (check-types ~.types-partial-dependency-chain ~[%tests %golden ~.types-partial-dependency-chain %source %jibb] src-379 `typ-379))
2011+ (weld (check ~.types-partial-dependency-chain src-382 `tok-382 `tre-382) (check-types ~.types-partial-dependency-chain ~[%tests %golden ~.types-partial-dependency-chain %source %jibb] src-382 `typ-382))
1984++ test-types-partial-explicit-capital
2012++ test-types-partial-explicit-capital
1985− (weld (check ~.types-partial-explicit-capital src-380 `tok-380 `tre-380) (check-types ~.types-partial-explicit-capital ~[%tests %golden ~.types-partial-explicit-capital %source %jibb] src-380 `typ-380))
2013+ (weld (check ~.types-partial-explicit-capital src-383 `tok-383 `tre-383) (check-types ~.types-partial-explicit-capital ~[%tests %golden ~.types-partial-explicit-capital %source %jibb] src-383 `typ-383))
1986++ test-types-partial-forward
2014++ test-types-partial-forward
1987− (weld (check ~.types-partial-forward src-381 `tok-381 `tre-381) (check-types ~.types-partial-forward ~[%tests %golden ~.types-partial-forward %source %jibb] src-381 `typ-381))
2015+ (weld (check ~.types-partial-forward src-384 `tok-384 `tre-384) (check-types ~.types-partial-forward ~[%tests %golden ~.types-partial-forward %source %jibb] src-384 `typ-384))
1988++ test-types-partial-generalization
2016++ test-types-partial-generalization
1989− (weld (check ~.types-partial-generalization src-382 `tok-382 `tre-382) (check-types ~.types-partial-generalization ~[%tests %golden ~.types-partial-generalization %source %jibb] src-382 `typ-382))
2017+ (weld (check ~.types-partial-generalization src-385 `tok-385 `tre-385) (check-types ~.types-partial-generalization ~[%tests %golden ~.types-partial-generalization %source %jibb] src-385 `typ-385))
1990++ test-types-partial-identity
2018++ test-types-partial-identity
1991− (weld (check ~.types-partial-identity src-383 `tok-383 `tre-383) (check-types ~.types-partial-identity ~[%tests %golden ~.types-partial-identity %source %jibb] src-383 `typ-383))
2019+ (weld (check ~.types-partial-identity src-386 `tok-386 `tre-386) (check-types ~.types-partial-identity ~[%tests %golden ~.types-partial-identity %source %jibb] src-386 `typ-386))
2020+++ test-types-partial-independent-atoms
2021+ (weld (check ~.types-partial-independent-atoms src-387 `tok-387 `tre-387) (check-types ~.types-partial-independent-atoms ~[%tests %golden ~.types-partial-independent-atoms %source %jibb] src-387 `typ-387))
1992++ test-types-partial-mold-bare-aura
2022++ test-types-partial-mold-bare-aura
1993− (weld (check ~.types-partial-mold-bare-aura src-384 `tok-384 `tre-384) (check-types ~.types-partial-mold-bare-aura ~[%tests %golden ~.types-partial-mold-bare-aura %source %jibb] src-384 `typ-384))
2023+ (weld (check ~.types-partial-mold-bare-aura src-388 `tok-388 `tre-388) (check-types ~.types-partial-mold-bare-aura ~[%tests %golden ~.types-partial-mold-bare-aura %source %jibb] src-388 `typ-388))
1994++ test-types-partial-mold-composite
2024++ test-types-partial-mold-composite
1995− (weld (check ~.types-partial-mold-composite src-385 `tok-385 `tre-385) (check-types ~.types-partial-mold-composite ~[%tests %golden ~.types-partial-mold-composite %source %jibb] src-385 `typ-385))
2025+ (weld (check ~.types-partial-mold-composite src-389 `tok-389 `tre-389) (check-types ~.types-partial-mold-composite ~[%tests %golden ~.types-partial-mold-composite %source %jibb] src-389 `typ-389))
1996++ test-types-partial-mold-forward
2026++ test-types-partial-mold-forward
1997− (weld (check ~.types-partial-mold-forward src-386 `tok-386 `tre-386) (check-types ~.types-partial-mold-forward ~[%tests %golden ~.types-partial-mold-forward %source %jibb] src-386 `typ-386))
2027+ (weld (check ~.types-partial-mold-forward src-390 `tok-390 `tre-390) (check-types ~.types-partial-mold-forward ~[%tests %golden ~.types-partial-mold-forward %source %jibb] src-390 `typ-390))
1998++ test-types-partial-mold-recursive
2028++ test-types-partial-mold-recursive
1999− (weld (check ~.types-partial-mold-recursive src-387 `tok-387 `tre-387) (check-types ~.types-partial-mold-recursive ~[%tests %golden ~.types-partial-mold-recursive %source %jibb] src-387 `typ-387))
2029+ (weld (check ~.types-partial-mold-recursive src-391 `tok-391 `tre-391) (check-types ~.types-partial-mold-recursive ~[%tests %golden ~.types-partial-mold-recursive %source %jibb] src-391 `typ-391))
2000++ test-types-partial-occurs
2030++ test-types-partial-occurs
2001− (weld (check ~.types-partial-occurs src-388 `tok-388 `tre-388) (check-types ~.types-partial-occurs ~[%tests %golden ~.types-partial-occurs %source %jibb] src-388 `typ-388))
2031+ (weld (check ~.types-partial-occurs src-392 `tok-392 `tre-392) (check-types ~.types-partial-occurs ~[%tests %golden ~.types-partial-occurs %source %jibb] src-392 `typ-392))
2002++ test-types-partial-projection
2032++ test-types-partial-projection
2003− (weld (check ~.types-partial-projection src-389 `tok-389 `tre-389) (check-types ~.types-partial-projection ~[%tests %golden ~.types-partial-projection %source %jibb] src-389 `typ-389))
2033+ (weld (check ~.types-partial-projection src-393 `tok-393 `tre-393) (check-types ~.types-partial-projection ~[%tests %golden ~.types-partial-projection %source %jibb] src-393 `typ-393))
2004++ test-types-partial-shadow-global
2034++ test-types-partial-shadow-global
2005− (weld (check ~.types-partial-shadow-global src-390 `tok-390 `tre-390) (check-types ~.types-partial-shadow-global ~[%tests %golden ~.types-partial-shadow-global %source %jibb] src-390 `typ-390))
2035+ (weld (check ~.types-partial-shadow-global src-394 `tok-394 `tre-394) (check-types ~.types-partial-shadow-global ~[%tests %golden ~.types-partial-shadow-global %source %jibb] src-394 `typ-394))
2006++ test-types-partial-shared-tvar
2036++ test-types-partial-shared-tvar
2007− (weld (check ~.types-partial-shared-tvar src-391 `tok-391 `tre-391) (check-types ~.types-partial-shared-tvar ~[%tests %golden ~.types-partial-shared-tvar %source %jibb] src-391 `typ-391))
2037+ (weld (check ~.types-partial-shared-tvar src-395 `tok-395 `tre-395) (check-types ~.types-partial-shared-tvar ~[%tests %golden ~.types-partial-shared-tvar %source %jibb] src-395 `typ-395))
2008++ test-types-partial-union-cases
2038++ test-types-partial-union-cases
2009− (weld (check ~.types-partial-union-cases src-392 `tok-392 `tre-392) (check-types ~.types-partial-union-cases ~[%tests %golden ~.types-partial-union-cases %source %jibb] src-392 `typ-392))
2039+ (weld (check ~.types-partial-union-cases src-396 `tok-396 `tre-396) (check-types ~.types-partial-union-cases ~[%tests %golden ~.types-partial-union-cases %source %jibb] src-396 `typ-396))
2040+++ test-types-partial-union-edges
2041+ (weld (check ~.types-partial-union-edges src-397 `tok-397 `tre-397) (check-types ~.types-partial-union-edges ~[%tests %golden ~.types-partial-union-edges %source %jibb] src-397 `typ-397))
2010++ test-types-partial-unresolved-tag
2042++ test-types-partial-unresolved-tag
2011− (weld (check ~.types-partial-unresolved-tag src-393 `tok-393 `tre-393) (check-types ~.types-partial-unresolved-tag ~[%tests %golden ~.types-partial-unresolved-tag %source %jibb] src-393 `typ-393))
2043+ (weld (check ~.types-partial-unresolved-tag src-398 `tok-398 `tre-398) (check-types ~.types-partial-unresolved-tag ~[%tests %golden ~.types-partial-unresolved-tag %source %jibb] src-398 `typ-398))
2013:: +check: run golden:jibb on a case and compare both outputs
2045:: +check: run golden:jibb on a case and compare both outputs
@@ -2069,4 +2101,18 @@
2069 |= [case=@ta at=path src=@t want=(unit wain)]
2101 |= [case=@ta at=path src=@t want=(unit wain)]
2071 (compare (file case "types.txt") want (golden-types:jibb at src))
2103 (compare (file case "types.txt") want (golden-types:jibb at src))
2105+++ check-import-types
2106+ |= [case=@ta at=path src=@t want=(unit wain) fixtures=(list [module=term mold=term source=wain])]
2108+ ?: (lien fixtures |=(f=[module=term mold=term source=wain] ?=(~ source.f)))
2109+ ~[leaf+"an imported Hoon fixture is missing or empty"]
2110+ =/ external=(list [module=term name=term result=*])
2112+ |= fixture=[module=term mold=term source=wain]
2113+ =/ text=@t (rap 3 (turn source.fixture |=(line=@t (cat 3 line '\0a'))))
2114+ =/ cor=type -:(ride -:!>(..zuse) text)
2115+ =/ typ=type (~(play ut cor) (ream (cat 3 '*' mold.fixture)))
2116+ [module.fixture mold.fixture (read-mold-in:jibb-import module.fixture mold.fixture typ cor)]
2117+ (compare (file case "types.txt") want (golden-types-imports:jibb at src external))