https://issues.dlang.org/show_bug.cgi?id=16275
Issue ID: 16275
Summary: final functions allowed
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: minor
Priority: P1
Component: dmd
Assignee: [email protected]
Reporter: [email protected]
Defining a function (not method) as final works.
//>> final function
final int foo()
{
return 40 + 2;
}
//<<
--
