digitalmars.D.bugs - [Issue 11198] New: Error messages for declaring a 'version' inside main() and other functions is unclear
- d-bugmail puremagic.com (24/24) Oct 08 2013 http://d.puremagic.com/issues/show_bug.cgi?id=11198
http://d.puremagic.com/issues/show_bug.cgi?id=11198 Summary: Error messages for declaring a 'version' inside main() and other functions is unclear Product: D Version: unspecified Platform: All OS/Version: All Status: NEW Severity: trivial Priority: P2 Component: DMD AssignedTo: nobody puremagic.com ReportedBy: dlangbugad sharklasers.com Declaring a version for conditional compilation within functions gives the following errors: Error: (condition) expected following version Error: found '=' instead of statement when using code such as `version = FeatureA;` in a function. The errors do not specify that a version must be declared outside of function code blocks. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Oct 08 2013