UoY-RoboStar / robochart-textual

This repository contains the plugins for the RoboChart textual editor
Eclipse Public License 2.0
0 stars 1 forks source link

Required interfaces with initialized variables #65

Open pefribeiro opened 2 years ago

pefribeiro commented 2 years ago

@madielfilho raised an issue with the use of initialized variables in required interfaces. Calling of an operation that requires such a variable does not lead to it being assigned that value, which is expected, since the operation does not declare, but rather requires the variable.

We should perhaps disallow such use of required variables with initial values via a well-formedness condition? @alvarohm, do you have an opinion regarding this? I don't recall this having been discussed before.