Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dk14 committed Nov 24, 2020
1 parent 60d444b commit 3ff7872
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -40,7 +40,8 @@ previousState =
} where
genAccessor varName =
Paren NoRange $ App NoRange (Ident $ QName $ quickname ("ContractState." ++ varName)) (defaultNamedArg $ ident "st")
quickname op = Name NoRange NotInScope $ (Id op) :| []
quickname op = Name NoRange NotInScope $ (Id op) :| []

-- for every state variable - we generate specialised state transition function
genStateTransitionsForStateVariables :: (ContractStatePoly Expr Expr) -> String -> String -> [String] -> [String] -> [Declaration]
genStateTransitionsForStateVariables nextState functionName param1 params types =
Expand Down

0 comments on commit 3ff7872

Please sign in to comment.