From e73de67a758e71ee4fb69397cb538c62c7b4fe92 Mon Sep 17 00:00:00 2001 From: David Aspinall Date: Thu, 25 Sep 2003 15:46:12 +0000 Subject: Add bug reported by Norbert Schirmer. [Actually, superscript highlighting seems broken anyway] --- etc/isar/XSymbolTests.thy | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/etc/isar/XSymbolTests.thy b/etc/isar/XSymbolTests.thy index 09952ecd..73c90e75 100644 --- a/etc/isar/XSymbolTests.thy +++ b/etc/isar/XSymbolTests.thy @@ -4,6 +4,18 @@ theory XSymbolTests = Main: +(* Thu Sep 25 16:26:47 BST 2030. + Problem reported by Norbert Schirmer + Currently, superscript output highlighting seems broken anyway? *) + +consts silly:: "'a => 'a => 'a" ("_\<^sup>_" [1000,1000] 1000) + +consts k:: 'a + +term "a\<^sup>b" (* b should be a blue variable *) +term "a\<^sup>k" (* k should be a black constant *) + + (* 28.8.02: bug in pg-remove-specials broke this; now fixed *) @@ -42,7 +54,7 @@ consts x-symbol-invisitiblity-spec type error, at least during editing. *) consts - intof :: nat \ int ("_\<^sub>\" 50) + intof :: "nat \ int" ("_\<^sub>\" 50) mynat :: nat ("\") constdefs -- cgit v1.2.3