Skip to content
This repository was archived by the owner on Oct 12, 2022. It is now read-only.

Commit a2e4106

Browse files
Merge pull request #2989 from WalterBright/pureReturn
pure functions imply scope attribute, but not return attribute
2 parents fc96727 + 688b35c commit a2e4106

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/core/demangle.d

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2245,7 +2245,7 @@ char[] mangle(T)(const(char)[] fqn, char[] dst = null) @safe pure nothrow
22452245

22462246
@property bool empty() const { return !s.length; }
22472247

2248-
@property const(char)[] front() const
2248+
@property const(char)[] front() const return
22492249
{
22502250
immutable i = indexOfDot();
22512251
return i == -1 ? s[0 .. $] : s[0 .. i];

0 commit comments

Comments
 (0)