Closed pmasci closed 3 years ago
The pvs lisp command 'find-declaration' is unable to find the declaration of function arguments, while 'show-declaration' finds it.
Step 1. Create the following theory
foo_th: THEORY BEGIN f(x: int): int g(ww: int): int = f(ww) END foo_th
Step 2. After typechecking, type the following commands in the *pvs* buffer (show-declaration "test" "pvs" '(4 24)) (find-declaration "ww")
pvs(1): (show-declaration "test" "pvs" '(4 24)) % From theory findme: ww: int nil pvs(2): (find-declaration "ww") nil
Description of the problem
The pvs lisp command 'find-declaration' is unable to find the declaration of function arguments, while 'show-declaration' finds it.
PVS versions
Steps for reproducing the bug
Step 1. Create the following theory
Step 2. After typechecking, type the following commands in the *pvs* buffer (show-declaration "test" "pvs" '(4 24)) (find-declaration "ww")
Output on PVS7 and PVS6
pvs(1): (show-declaration "test" "pvs" '(4 24)) % From theory findme: ww: int nil pvs(2): (find-declaration "ww") nil