intero 0.1.34 → 0.1.35
raw patch · 3 files changed
+13/−6 lines, 3 filesdep ~ghc
Dependency ranges changed: ghc
Files
- elisp/intero.el +3/−3
- intero.cabal +2/−2
- src/test/Main.hs +8/−1
elisp/intero.el view
@@ -72,9 +72,9 @@ (defcustom intero-package-version (cl-case system-type ;; Until <https://github.com/haskell/network/issues/313> is fixed:- (windows-nt "0.1.33")- (cygwin "0.1.33")- (t "0.1.33"))+ (windows-nt "0.1.35")+ (cygwin "0.1.35")+ (t "0.1.35")) "Package version to auto-install. This version does not necessarily have to be the latest version
intero.cabal view
@@ -1,7 +1,7 @@ name: intero version:- 0.1.34+ 0.1.35 synopsis: Complete interactive development program for Haskell license:@@ -73,7 +73,7 @@ bytestring, directory, filepath,- ghc >= 7.8 && <= 8.6.1,+ ghc >= 7.8 && <= 8.6.3, ghc-paths, haskeline, process,
src/test/Main.hs view
@@ -59,6 +59,13 @@ ":type-at" "<no location info>: Expected a span: \"<module-name/filepath>\" <start line> <start column> <end line> <end column> \"<sample string>\"\n")) +maybeModuleStr :: String+#if __GLASGOW_HASKELL__ >= 806+maybeModuleStr = "GHC.Maybe"+#else+maybeModuleStr = "GHC.Base"+#endif+ -- | Basic commands that should work out of the box. basics :: Spec basics =@@ -70,7 +77,7 @@ (do reply <- withIntero [] (\_ repl -> repl ":i Nothing") shouldBe (subRegex (mkRegex "Data.Maybe") reply "GHC.Base")- ("data Maybe a = Nothing | ... \t-- Defined in " ++ (quote "GHC.Base") ++ "\n"))+ ("data Maybe a = Nothing | ... \t-- Defined in " ++ (quote maybeModuleStr) ++ "\n")) it ":k Just" (eval ":k Maybe" "Maybe :: * -> *\n")) where quote s = opQuote : s ++ [clQuote]