Thread overview | |||||
---|---|---|---|---|---|
|
February 19, 2010 [Issue 3838] New: PrimaryExpression rule doesn't permit module scope template instances | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=3838 Summary: PrimaryExpression rule doesn't permit module scope template instances Product: D Version: 2.040 Platform: All URL: http://digitalmars.com/d/2.0/expression.html OS/Version: All Status: NEW Keywords: spec Severity: normal Priority: P2 Component: www.digitalmars.com AssignedTo: nobody@puremagic.com ReportedBy: jlquinn@optonline.net --- Comment #0 from Jerry Quinn <jlquinn@optonline.net> 2010-02-18 16:51:22 PST --- The PrimaryExpression rule allows module scope identifiers and types but not template instances. Dmd 2.040 allows them, though. So: struct ss(S) { static S s; } void foo() { int x = .ss!(int).s; } compiles, though the grammar doesn't permit the '.' in front of ss. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
January 23, 2012 [Issue 3838] PrimaryExpression rule doesn't permit module scope template instances | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jerry Quinn | http://d.puremagic.com/issues/show_bug.cgi?id=3838 --- Comment #1 from github-bugzilla@puremagic.com 2012-01-23 15:35:00 PST --- Commit pushed to https://github.com/D-Programming-Language/d-programming-language.org https://github.com/D-Programming-Language/d-programming-language.org/commit/79ecd142488e0a26b47ce47fede6c5aacfcbc226 fix Issue 3838 - PrimaryExpression rule doesn't permit module scope template instances -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
January 23, 2012 [Issue 3838] PrimaryExpression rule doesn't permit module scope template instances | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jerry Quinn | http://d.puremagic.com/issues/show_bug.cgi?id=3838 Walter Bright <bugzilla@digitalmars.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |bugzilla@digitalmars.com Resolution| |FIXED -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
Copyright © 1999-2021 by the D Language Foundation