Skip to content

Commit 0ef6edb

Browse files
committed
update docstrings
1 parent 0916be6 commit 0ef6edb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/kontrol/prove.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1528,7 +1528,6 @@ def _kontrol_kast_from_natspec(term: KApply, method: Contract.Method, init_cterm
15281528
else:
15291529
args.append(_kontrol_kast_from_natspec(arg, method, init_cterm))
15301530
if type(arg) is KToken:
1531-
# TODO: Handle StructField and ArrayAccess
15321531
if arg.sort == ID:
15331532
# If it's an ID token, ensure it's either a function parameter or a storage variable
15341533
function_arg = method.find_arg(arg.token)
@@ -1548,6 +1547,7 @@ def _kontrol_kast_from_natspec(term: KApply, method: Contract.Method, init_cterm
15481547

15491548

15501549
def get_global_variable(term: KApply, init_cterm: CTerm) -> KInner | None:
1550+
"""Checks if a KAst term is a Solidity global variable and return the cell value from init_cterm if so."""
15511551
cell_name = GLOBAL_VARIABLES_TO_CELL_NAMES.get(term)
15521552
if cell_name is None:
15531553
return None

0 commit comments

Comments
 (0)