[Issue 5803] Inaccuracies in the specification of the grammar

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Mar 31 12:05:04 PDT 2011


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



--- Comment #3 from Rainer Schuetze <r.sagitario at gmx.de> 2011-03-31 12:01:27 PDT ---
(In reply to comment #1)
> One fairly big mistake in there: there seems to be confusion between
> StructLiteral and StructStaticInitializer. 

Maybe I oversimplified here, but I was hoping for a generalization of the
array/struct initializer and literals. 

IIRC the StructStaticInitializer is said to be deprecated anyway, but it might
actually be possible to interpret it as a literal inside expressions with
implicite conversions, similar how dmd deals with arrays, because the parser
cannot decide which type of array a variable is declared as until the semantic
pass.

-- 
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