Bug 6828 – Module Scope Operator not working for classes
Status
RESOLVED
Resolution
WORKSFORME
Severity
minor
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
All
OS
Windows
Creation time
2011-10-18T12:20:00Z
Last change time
2013-02-08T15:15:28Z
Keywords
rejects-valid
Assigned to
nobody
Creator
luka8088
Comments
Comment #0 by luka8088 — 2011-10-18T12:20:23Z
class a {}
class b : .a {}
void main () {}
Compiler says:
prog.d(): base classes expected instead of .
prog.d(): members expected
....
According to the http://www.digitalmars.com/d/2.0/module.html , Module Scope Operator section I see no reason why this is not valid.
Comment #1 by andrej.mitrovich — 2013-02-08T15:15:28Z