dhscanner-ast 1.0.7 → 1.0.8
raw patch · 2 files changed
+6/−3 lines, 2 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- dhscanner-ast.cabal +1/−1
- src/Ast.hs +5/−2
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.0.7 +version: 1.0.8 license: GPL-3.0-only license-file: LICENSE author: OrenGitHub
src/Ast.hs view
@@ -104,12 +104,15 @@ | StmtContinue StmtContinueContent deriving ( Show, Eq, Ord, Generic, ToJSON, FromJSON ) +-- | +-- @since 1.0.6 +-- 'paramNominalTypeV2' aims to replace 'paramNominalType' data Param = Param { paramName :: Token.ParamName, - paramNominalType :: Token.NominalTy, - paramNominalTypeV2 :: Maybe Var, -- ^ @since 1.0.6, will replace 'paramNominalType' + paramNominalType :: Token.NominalTy, -- ^ ( will be deprecated soon ) + paramNominalTypeV2 :: Maybe Var, -- ^ ( use this instead ) paramSerialIdx :: Word -- ^ ( /zero/-based ) } deriving ( Show, Eq, Ord, Generic, ToJSON, FromJSON )