Parsing error
Jonathan M Davis
jmdavisProg at gmx.com
Fri Dec 28 00:45:26 PST 2012
On Wednesday, December 26, 2012 14:08:37 Nicolas Sicard wrote:
> I'm not sure whether this has been reported:
> ---
> struct Foo {
> void bar(T)() {}
> void baz() {}
> }
>
> void main() {
> Foo foo;
> (foo).bar!int(); // Compiler parsing error
> ((foo)).bar!int(); // OK
> foo.bar!int(); // OK
> (foo).baz(); // OK
> }
> ---
> DMD 2.060 on OS X.
Check in bugzilla. If you can't find it, then report it.
http://d.puremagic.com/issues
- Jonathan M Davis
More information about the Digitalmars-d
mailing list