packages feed

haskell-tools-cli 1.0.1.1 → 1.0.1.2

raw patch · 2 files changed

+3/−3 lines, 2 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

benchmark/Main.hs view
@@ -24,7 +24,7 @@ 
 import Language.Haskell.Tools.Daemon.Options (SharedDaemonOptions(..))
 import Language.Haskell.Tools.Daemon.PackageDB (PackageDB(..))
-import Language.Haskell.Tools.Refactor.Builtin (builtinRefactorings)
+import Language.Haskell.Tools.Refactor.Builtin (builtinRefactorings, builtinQueries)
 import Language.Haskell.Tools.Refactor.CLI (CLIOptions(..), normalRefactorSession)
 
 rootDir = "examples"
@@ -134,7 +134,7 @@     inHandle <- newFileHandle inKnob "<input>" ReadMode
     outKnob <- newKnob (BS.pack [])
     outHandle <- newFileHandle outKnob "<output>" WriteMode
-    void $ normalRefactorSession builtinRefactorings inHandle outHandle
+    void $ normalRefactorSession builtinRefactorings builtinQueries inHandle outHandle
              (CLIOptions False False Nothing (SharedDaemonOptions True Nothing False False Nothing (Just DefaultDB)) [wd])
   `finally` do removeDirectoryRecursive wd
                renameDirectory (wd ++ "_orig") wd
haskell-tools-cli.cabal view
@@ -1,5 +1,5 @@ name:                haskell-tools-cli
-version:             1.0.1.1
+version:             1.0.1.2
 synopsis:            Command-line frontend for Haskell-tools Refact
 description:         Command-line frontend for Haskell-tools Refact. Not meant as a final product, only for demonstration purposes.
 homepage:            https://github.com/haskell-tools/haskell-tools