[Issue 5803] Inaccuracies in the specification of the grammar

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Mar 31 03:09:38 PDT 2011


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


Don <clugdbug at yahoo.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |clugdbug at yahoo.com.au


--- Comment #1 from Don <clugdbug at yahoo.com.au> 2011-03-31 03:05:48 PDT ---
One fairly big mistake in there: there seems to be confusion between
StructLiteral and StructStaticInitializer. 

Foo z = { x: 7, y: 56};
is a struct static initializer, not a struct literal.
Foo(7, 56); is a struct literal.

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


More information about the Digitalmars-d-bugs mailing list