[Issue 12688] Strange error if function call is in parentheses

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sun May 4 12:16:14 PDT 2014


https://issues.dlang.org/show_bug.cgi?id=12688

--- Comment #2 from github-bugzilla at puremagic.com ---
Commits pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/498d260ff2bced1135e4aabee920b6e1704386f2
fix Issue 12688 - Strange error if function call is in parentheses

`(s.foo).writeln` is parsed as `DotIdExp(TypeExp('s.foo'), 'writeln')`, but the
type `s.foo` should be analyzed as dotvar expression.

https://github.com/D-Programming-Language/dmd/commit/fd09d6b4936fd2a9a45a33451e493f627962cb0c
Merge pull request #3524 from 9rnsr/fix12688

Issue 12688 - Strange error if function call is in parentheses

--


More information about the Digitalmars-d-bugs mailing list