Proper session qualifier for theory imports (amending 44cae2e631)
ci/woodpecker/push/build Pipeline was successful Details

This commit is contained in:
Makarius Wenzel 2022-12-04 00:45:07 +01:00
parent f2ee5d3780
commit d20e9ccd22
1 changed files with 2 additions and 1 deletions

View File

@ -83,7 +83,8 @@ object DOF_Mkroot
val thy = session_dir + Path.explode(name + ".thy")
progress.echo(" creating " + thy)
File.write(thy,
"theory\n " + name + "\nimports\n " + ontologies.mkString("\n ") + """
"theory\n " + name +
"\nimports\n " + ontologies.map("Isabelle_DOF." + _).mkString("\n ") + """
begin
use_template """ + quote(template) + """