http://d.puremagic.com/issues/show_bug.cgi?id=9232



--- Comment #2 from Nicolas Sicard <dran...@gmail.com> 2012-12-28 07:41:13 PST 
---
> In current, "(foo).bar" matches UnaryExpression "(Type) . identifier".
> http://dlang.org/expression#UnaryExpression

It should not since foo is not a type but an identifier.

(foo).bar!int should match "PrimaryExpression . TemplateInstance", where
PrimaryExpression matches "( Identifier )".

So this is a compiler bug IMO, and should not be classified as an enhancement
request.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to