src/Pure/Tools/profiling_report.scala
changeset 75791 fb12433208aa
parent 75780 f49c4f160b84
child 76205 005abcb34849
equal deleted inserted replaced
75790:0ab8a9177e41 75791:fb12433208aa
    17   ): Unit = {
    17   ): Unit = {
    18     val store = Sessions.store(options)
    18     val store = Sessions.store(options)
    19 
    19 
    20     using(Export.open_session_context0(store, session)) { session_context =>
    20     using(Export.open_session_context0(store, session)) { session_context =>
    21       session_context.session_db().map(db => store.read_theories(db, session)) match {
    21       session_context.session_db().map(db => store.read_theories(db, session)) match {
    22         case None => error("Missing build database for session " + quote(session))
    22         case None => store.error_database(session)
    23         case Some(used_theories) =>
    23         case Some(used_theories) =>
    24           theories.filterNot(used_theories.toSet) match {
    24           theories.filterNot(used_theories.toSet) match {
    25             case Nil =>
    25             case Nil =>
    26             case bad => error("Unknown theories " + commas_quote(bad))
    26             case bad => error("Unknown theories " + commas_quote(bad))
    27           }
    27           }