rhit-csse-projects / RESOLVE

RESOLVE (REusable SOftware Language with VErification) is a specification and programming language designed for verifying correctness of object oriented programs.
https://www.cs.clemson.edu/resolve/
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Procedure parameter modes (in .rb files) must match corresponding Operation parameter modes (in .co files) #12

Open drholly77 opened 1 month ago

drholly77 commented 1 month ago

Context:

To be checked:

Each parameter mode found in a Procedure header must exactly match the corresponding parameter mode found the Operation header, with the following exceptions:

  1. If alters appears in the Operation header, then either alters or clears can appear in the corresponding Procedure header
  2. If restores appears in the Operation header, then either restores or preserves can appear in the corresponding Procedure header

Compiler error:

Note: