Behavior of parser highly illogical (from gforge #21727)
Imported issue: Initially reported by @x-CLaute in https://gforge.inria.fr/tracker/?group_id=1015&aid=21727
As of 5b893c5e the Sollya parser does not accept the following construction
procedure tmp(c) { c.run(); };
while it is perfectly fine with
procedure tmp(c) { c.run(17); };
and even with
procedure tmp(c) { (c.run)(); };
This last version shows that the underlying logic in Sollya is there, i.e. the call
tmp({ .run = proc () { ""Coucou""; } });
works without any issue.
You would wonder why
procedure tmp(c) { c.run(); };
is not supported.