Open eirik-kjonstad opened 3 years ago
This issue is partly resolved in #44 and release 1.2.0.
I will leave the issue open because there are still cases where expressions are misinterpreted because the syntax is not able to "match" parentheses when interpreting the expression, e.g.
result = foo(object(k)%otherObject(myFoo(k))%member)
I've noticed that the syntax will sometimes incorrectly scope expressions involving functions and object-accessing. Here is an example:
The reason for the wrong scope is the following:
It assumes that the ) in object(k) is the closing parenthesis of
foo
and so misinterpretsfoo
as an storage.type.class.