set some more fields

pull/502/head
samczsun 4 years ago
parent 3edef5344b
commit a607e6eb57
  1. 2
      slither/solc_parsing/yul/parse_yul.py

@ -165,9 +165,11 @@ class YulFunction(YulScope):
func.set_contract(root.contract)
func.set_contract_declarer(root.contract)
func.scope = root.id
func.is_implemented = True
self._nodes: List[YulNode] = []
self._entrypoint = self.new_node(NodeType.ASSEMBLY, ast['src'])
func.entry_point = self._entrypoint.underlying_node
self.add_yul_local_function(self)

Loading…
Cancel
Save