author | wenzelm |
Mon, 22 Jul 2019 11:39:30 +0200 | |
changeset 70393 | 9e53a98702b9 |
parent 70392 | 59f16c087840 |
child 70394 | 893d6373b484 |
--- a/src/Pure/proofterm.ML Mon Jul 22 11:31:42 2019 +0200 +++ b/src/Pure/proofterm.ML Mon Jul 22 11:39:30 2019 +0200 @@ -799,7 +799,8 @@ in Const ("Pure.Appt", proofT --> T --> proofT) $ term_of Ts prf $ t end | term_of Ts (Hyp t) = Hypt $ t | term_of Ts (Oracle (_, t, _)) = Oraclet $ t - | term_of Ts MinProof = MinProoft; + | term_of Ts MinProof = MinProoft + | term_of Ts (Promise (_, t, _)) = raise TERM ("Illegal proof promise", [t]); in