From 5f2db97016690647f7d67ceda4fe29e28589c915 Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Thu, 19 Mar 2020 11:14:24 -0700 Subject: [PATCH] ;lib: disable doctest with GHC 8.10 for now (sol/doctest#246) --- hledger-lib/package.yaml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/hledger-lib/package.yaml b/hledger-lib/package.yaml index 4ba590bbf..47e2cd8ec 100644 --- a/hledger-lib/package.yaml +++ b/hledger-lib/package.yaml @@ -187,8 +187,9 @@ tests: # - condition: os(darwin) && impl(ghc >= 8.4) # buildable: false - # ghc 8.0 on linux: - # Hledger/Read/JournalReader.hs:126: failure in expression `rejp (journalp <* eof) "2015/1/1\n a 0\n"' ... Variable not in scope: rejp :: f0 a0 -> [Char] -> t + # ghc 8.10 isn't supported by doctest yet, https://github.com/sol/doctest/issues/246 + # ghc 8.0 on linux gives Hledger/Read/JournalReader.hs:126: failure in expression `rejp (journalp <* eof) "2015/1/1\n a 0\n"' ... Variable not in scope: rejp :: f0 a0 -> [Char] -> t + # must use one conditional here, https://github.com/sol/hpack/issues/379 when: - - condition: (impl(ghc < 8.2)) + - condition: (impl(ghc < 8.2) || impl(ghc >= 8.10)) buildable: false