Use long prefix rather than short package name to disambiguate constant names
introduced by verification environment
--- a/src/HOL/SPARK/Tools/spark_vcs.ML Sun Feb 26 21:44:12 2012 +0100
+++ b/src/HOL/SPARK/Tools/spark_vcs.ML Mon Feb 27 10:32:39 2012 +0100
@@ -1027,7 +1027,8 @@
Symtab.update ("false", (@{term False}, booleanN)) |>
Symtab.update ("true", (@{term True}, booleanN)),
Name.context),
- thy |> Sign.add_path (Long_Name.base_name ident)) |>
+ thy |> Sign.add_path
+ (if prfx = "" then Long_Name.base_name ident else prfx)) |>
fold (add_type_def prfx) (items types) |>
fold (snd oo add_const prfx) consts' |> (fn ids_thy as ((tab, _), _) =>
ids_thy |>