Module Solidity_typechecker

val type_program : ?init:(unit -> unit) -> Solidity_ast.program -> Solidity_ast.program

Types a program and, if successful, returns the annoted program where the program_modules are ordered wrt. their dependencies.