author | wenzelm |
Sat, 19 Oct 2024 17:16:16 +0200 | |
changeset 81201 | dff445a16252 |
parent 81200 | 0123c6c8f38a |
child 81202 | 243f6bec771c |
--- a/src/Pure/Syntax/syntax_phases.ML Sat Oct 19 17:00:14 2024 +0200 +++ b/src/Pure/Syntax/syntax_phases.ML Sat Oct 19 17:16:16 2024 +0200 @@ -862,8 +862,8 @@ (* type reflection *) -fun type_tr' ctxt (Type ("itself", [T])) ts = - Term.list_comb (Syntax.const "_TYPE" $ term_of_typ ctxt T, ts) +fun type_tr' ctxt (ty as Type ("itself", [T])) ts = + Term.list_comb (Const ("_TYPE", ty) $ term_of_typ ctxt T, ts) | type_tr' _ _ _ = raise Match;