packages feed

dhscanner-ast 1.4.0 → 1.5.0

raw patch · 2 files changed

+3/−2 lines, 2 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

+ Ast: [hostingClassAnnotations] :: StmtMethodContent -> [Exp]
- Ast: StmtMethodContent :: Maybe Var -> MethodName -> [Param] -> [Stmt] -> [Exp] -> Location -> ClassName -> [SuperName] -> StmtMethodContent
+ Ast: StmtMethodContent :: Maybe Var -> MethodName -> [Param] -> [Stmt] -> [Exp] -> Location -> ClassName -> [SuperName] -> [Exp] -> StmtMethodContent

Files

dhscanner-ast.cabal view
@@ -22,7 +22,7 @@     and models both of them as plain sequential code blocks. Every file has exactly one ast that represents it.     Non Haskell parogrammers note: The ast is /immutable/ (like everything else in Haskell ...) -version:            1.4.0+version:            1.5.0 license:            GPL-3.0-only license-file:       LICENSE author:             OrenGitHub
src/Ast.hs view
@@ -166,7 +166,8 @@          stmtMethodAnnotations :: [ Exp ],
          stmtMethodLocation :: Location,
          hostingClassName :: Token.ClassName,
-         hostingClassSupers :: [ Token.SuperName ]
+         hostingClassSupers :: [ Token.SuperName ],
+         hostingClassAnnotations :: [ Exp ]
      }
      deriving ( Show, Eq, Ord, Generic, ToJSON, FromJSON )