X-Git-Url: http://git.megacz.com/?p=coq-hetmet.git;a=blobdiff_plain;f=src%2FExtractionMain.v;h=05d059a81b4fc4c78b73ab23d3868cac0fc6cf60;hp=61993a1515802b1d9f14e812de3ad19a864f4450;hb=20a9b4934a97e6801d6785ac940f771cb74a8cc1;hpb=e490d1c33f065c73b3a6672569204e98b54029c0 diff --git a/src/ExtractionMain.v b/src/ExtractionMain.v index 61993a1..05d059a 100644 --- a/src/ExtractionMain.v +++ b/src/ExtractionMain.v @@ -100,7 +100,8 @@ Section core2proof. Definition ξ (cv:CoreVar) : LeveledHaskType Γ ★ := match coreVarToWeakVar cv with | WExprVar wev => match weakTypeToTypeOfKind φ wev ★ with - | Error s => Prelude_error ("Error in top-level xi: " +++ s) + | Error s => Prelude_error ("Error converting weakType of top-level variable "+++ + toString cv+++": " +++ s) | OK t => t @@ nil end | WTypeVar _ => Prelude_error "top-level xi got a type variable"