@@ -211,28 +211,32 @@ type DiffErrorCulprit = "new" | "old";
211211type DiffErrorDetails =
212212 | { tag : "impossibleError" }
213213 | {
214- tag : "constructorAlias" ;
215- oldOrNewBranch : DiffErrorCulprit ;
216- typeName : string ;
217- constructorName1 : string ;
218- constructorName2 : string ;
219- }
214+ tag : "constructorAlias" ;
215+ oldOrNewBranch : DiffErrorCulprit ;
216+ typeName : string ;
217+ constructorName1 : string ;
218+ constructorName2 : string ;
219+ }
220220 | {
221- tag : "missingConstructorName" ;
222- oldOrNewBranch : DiffErrorCulprit ;
223- typeName : string ;
224- }
221+ tag : "missingConstructorName" ;
222+ oldOrNewBranch : DiffErrorCulprit ;
223+ typeName : string ;
224+ }
225225 | {
226- tag : "nestedDeclAlias" ;
227- oldOrNewBranch : DiffErrorCulprit ;
228- constructorName1 : string ;
229- constructorName2 : string ;
230- }
226+ tag : "nestedDeclAlias" ;
227+ oldOrNewBranch : DiffErrorCulprit ;
228+ constructorName1 : string ;
229+ constructorName2 : string ;
230+ }
231+ | {
232+ tag : "strayConstructor" ;
233+ oldOrNewBranch : DiffErrorCulprit ;
234+ constructorName : string ;
235+ }
231236 | {
232- tag : "strayConstructor" ;
233- oldOrNewBranch : DiffErrorCulprit ;
234- constructorName : string ;
235- } ;
237+ tag : "libFoundAtUnexpectedPath" ;
238+ path : string ;
239+ } ;
236240
237241type ContributionDiffConfig =
238242 | { tag : "ok" }
0 commit comments