src/Pure/defs.ML
changeset 57520 3ad1b289f21b
parent 56050 fdccbb97915a
child 59050 376446e98951
--- a/src/Pure/defs.ML	Sat Jul 05 12:04:25 2014 +0200
+++ b/src/Pure/defs.ML	Sat Jul 05 13:21:53 2014 +0200
@@ -142,7 +142,7 @@
   err ctxt (c, args) (d, Us) "Circular" "";
 
 fun wellformed ctxt defs (c, args) (d, Us) =
-  forall is_TVar Us orelse
+  plain_args Us orelse
   (case find_first (fn (Ts, _) => not (disjoint_args (Ts, Us))) (restricts_of defs d) of
     SOME (Ts, description) =>
       err ctxt (c, args) (d, Us) "Malformed"