Bug 1302 – DMD2.001 rejects final const member function
Status
RESOLVED
Resolution
FIXED
Severity
major
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
x86
OS
Windows
Creation time
2007-07-01T04:54:00Z
Last change time
2015-06-09T05:15:05Z
Keywords
rejects-valid
Assigned to
bugzilla
Creator
noshiika
Comments
Comment #0 by noshiika — 2007-07-01T04:54:34Z
DMD 2.001 doesn't accept final const member function, though 2.000 does:
class A{
// conflicting storage class const
final const int func(){ return 1; }
}
while this passes:
class A{
final: const int func(){ return 1; }
}
Comment #1 by clugdbug — 2008-06-24T01:59:16Z
Both compile in DMD2.015 (Presumanbly because of the changes to the const regime).