Skip to content

Commit df978c6

Browse files
committed
[ fix ] --rewriting is infective
Following agda/agda#4621, --rewriting is infective
1 parent adb1852 commit df978c6

File tree

4 files changed

+4
-2
lines changed

4 files changed

+4
-2
lines changed

GenerateEverything.hs

+1
Original file line numberDiff line numberDiff line change
@@ -235,6 +235,7 @@ main = do
235235

236236
writeFileUTF8 (allOutputFile ++ ".agda") $
237237
unlines [ header
238+
, "{-# OPTIONS --rewriting #-}\n"
238239
, mkModule allOutputFile
239240
, format libraryfiles
240241
]

Header

-1
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,3 @@
55
------------------------------------------------------------------------
66

77
-- Note that core modules are not included.
8-

README.agda

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
{-# OPTIONS --rewriting #-}
2+
13
module README where
24

35
------------------------------------------------------------------------

README/Debug/Trace.agda

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
-- An example showing how the Debug.Trace module can be used
55
------------------------------------------------------------------------
66

7-
{-# OPTIONS --without-K #-}
7+
{-# OPTIONS --without-K --rewriting #-}
88

99
module README.Debug.Trace where
1010

0 commit comments

Comments
 (0)