ethereum-analyzer 3.3.1 → 3.3.3
raw patch · 2 files changed
+4/−4 lines, 2 files
Files
ethereum-analyzer.cabal view
@@ -1,5 +1,5 @@ name: ethereum-analyzer-version: 3.3.1+version: 3.3.3 synopsis: A Ethereum contract analyzer. homepage: https://github.com/zchn/ethereum-analyzer license: Apache-2.0@@ -21,7 +21,7 @@ source-repository this type: git location: https://github.com/zchn/ethereum-analyzer- tag: v3.3.1+ tag: v3.3.3 subdir: ethereum-analyzer library
src/Ethereum/Analyzer/Solidity/Simple.hs view
@@ -18,11 +18,11 @@ import Protolude hiding ((<>), show) import Compiler.Hoopl-import Data.Text (replace) import Ethereum.Analyzer.Common import Ethereum.Analyzer.Solidity.AstJson import Ckev.In.Text import Text.PrettyPrint.Leijen.Text hiding ((<$>))+import qualified Data.Text as DT -- import qualified Text.PrettyPrint.Leijen.Text as PP decodeContracts :: Text -> Either Text [Contract]@@ -447,7 +447,7 @@ s2sLval SolNode { name = Just "NewExpression" , attributes = Just SolNode {_type = Just t} } = do- let normalized = "_ea_new_" <> replace t " " "_"+ let normalized = "_ea_new_" <> DT.replace t " " "_" return ([], JustId $ Idfr normalized) s2sLval n = unimplementedPanic n {children = Nothing}