src/Pure/General/path.scala
changeset 73715 bf51c23f3f99
parent 73712 3eba8d4b624b
child 73897 0ddb5de0506e
--- a/src/Pure/General/path.scala	Mon May 17 14:07:13 2021 +0200
+++ b/src/Pure/General/path.scala	Mon May 17 14:07:51 2021 +0200
@@ -263,7 +263,7 @@
         case Path.Variable(s) =>
           val path = Path.explode(Isabelle_System.getenv_strict(s, env))
           if (path.elems.exists(_.isInstanceOf[Path.Variable]))
-            error("Illegal path variable nesting: " + Properties.Eq(s -> path.toString))
+            error("Illegal path variable nesting: " + Properties.Eq(s, path.toString))
           else path.elems
         case x => List(x)
       }