diff -r 53d21039518a -r 7f568724d67e src/Pure/Isar/specification.ML --- a/src/Pure/Isar/specification.ML Mon Jun 03 14:47:27 2019 +0200 +++ b/src/Pure/Isar/specification.ML Mon Jun 03 15:40:08 2019 +0200 @@ -390,7 +390,7 @@ let val (stmt, elems_ctxt) = prep_stmt raw_elems raw_stmt ctxt; val prems = Assumption.local_prems_of elems_ctxt ctxt; - val stmt_ctxt = fold (fold (Variable.auto_fixes o fst) o snd) stmt elems_ctxt; + val stmt_ctxt = fold (fold (Proof_Context.augment o fst) o snd) stmt elems_ctxt; in (case raw_stmt of Element.Shows _ =>