lib: Add a warning to crunch if it does not do anything
This commit is contained in:
parent
3ae4d6577d
commit
dceb2692e2
|
@ -764,6 +764,7 @@ fun crunch_x atts extra prp_name wpigs consts ctxt =
|
|||
val (_, thms) = funkyfold (crunch {ctxt = ctxt'', prp_name = prp_name, nmspce = nmspce,
|
||||
wps = wps, igs = igs, simps = simps, ig_dels = ig_dels, rules = rules} pre' extra' [])
|
||||
full_const_names [];
|
||||
val _ = if null thms then warning "crunch: no theorems proven" else ();
|
||||
|
||||
val atts' = map (Attrib.check_src ctxt) atts;
|
||||
|
||||
|
|
Loading…
Reference in New Issue