changeset 19419 | 2d26166aca27 |
parent 19341 | 3414c04fbc39 |
child 19473 | d87a8838afa4 |
--- a/src/Pure/codegen.ML Thu Apr 13 12:00:55 2006 +0200 +++ b/src/Pure/codegen.ML Thu Apr 13 12:00:56 2006 +0200 @@ -375,7 +375,7 @@ NONE => T | SOME ty => let val U = prep_type thy ty - in if Sign.typ_instance thy (U, T) then U + in if Type.raw_instance (U, T) then U else error ("Illegal type constraint for constant " ^ cname) end) in