Open tbeu opened 8 years ago
Possibly every single function should be marked impure (with the keyword) since the internal state is modified even in the packer. It depends if you consider all external object functions impure or not.
Let's see what Design92 says about impure function on external objects.
Should function Pack.SimpleBuffer.writeFile be marked as impure (using the new __ModelicaAssociation_Impure annotation)?
Not sure about Pack.SimpleBuffer.position though ...