Merge pull request #1744 from crytic/dev-printer-slithir-tl-format

Slithir printer improve top level functions format
pull/1759/head
Feist Josselin 2 years ago committed by GitHub
commit 5c52921e48
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      slither/printers/summary/slithir.py

@ -46,7 +46,7 @@ class PrinterSlithIR(AbstractPrinter):
txt += f"\tModifier {modifier.canonical_name}\n"
txt += _print_function(modifier)
if compilation_unit.functions_top_level:
txt += "Top level functions"
txt += "Top level functions\n"
for function in compilation_unit.functions_top_level:
txt += f"\tFunction {function.canonical_name}\n"
txt += _print_function(function)

Loading…
Cancel
Save