packages feed

dhscanner-bitcode 1.0.5 → 1.0.6

raw patch · 2 files changed

+10/−10 lines, 2 filesdep ~aesondep ~basedep ~containersPVP: major bump suggested

API removals or changes: PVP suggests a major version bump

Dependency ranges changed: aeson, base, containers, dhscanner-ast

API changes (from Hackage documentation)

- Callable: MethodContent :: MethdName -> ClassName -> [Fqn] -> Cfg -> Location -> MethodContent
+ Callable: MethodContent :: MethodName -> ClassName -> [Fqn] -> Cfg -> Location -> MethodContent
- Callable: [methodName] :: MethodContent -> MethdName
+ Callable: [methodName] :: MethodContent -> MethodName

Files

dhscanner-bitcode.cabal view
@@ -20,7 +20,7 @@     in mind. The commands resemble an abstract RISC-style assembley, motivated by keeping
     later-phases analyses as simple as possible.
 
-version:            1.0.5
+version:            1.0.6
 license:            GPL-3.0-only
 license-file:       LICENSE
 author:             OrenGitHub
@@ -30,13 +30,13 @@ stability:          experimental
 build-type:         Simple
 
-common warnings
-    ghc-options: -Wall
+common ghc_options
+    ghc-options: -Wall -O2
 
 library
 
     import:
-        warnings
+        ghc_options
 
     exposed-modules:
         Bitcode,
@@ -45,10 +45,10 @@         Fqn
 
     build-depends:
-        aeson >= 2.2.3 && < 2.3,
-        base >= 4.17.2 && < 4.18,
-        containers >= 0.6.7 && < 0.7,
-        dhscanner-ast >= 0.1.0.8,
+        aeson,
+        base >=4.17 && <=4.20,
+        containers,
+        dhscanner-ast >= 1.1.0,
 
     hs-source-dirs:
         src
@@ -59,7 +59,7 @@ test-suite dhscanner-bitcode-test
 
     import:
-        warnings
+        ghc_options
 
     type:
         exitcode-stdio-1.0
src/Callable.hs view
@@ -56,7 +56,7 @@ data MethodContent
    = MethodContent
      {
-         methodName :: Token.MethdName,
+         methodName :: Token.MethodName,
          hostingClassName :: Token.ClassName,
          hostingClassSupers :: [ Fqn ],
          methodBody :: Cfg,