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

Commit e361d20

Browse files
ibaradlang-bot
authored andcommitted
Mark gcRanges() with return attribute
Fix Issue 23051 - OpenBSD: Build broken on 2.100.0-beta.1 due to the inout attribute no longer implying the return attribute
1 parent 27834ed commit e361d20

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rt/sections_solaris.d

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ struct SectionGroup
5959
return pbeg[0 .. pend - pbeg];
6060
}
6161

62-
@property inout(void[])[] gcRanges() inout nothrow @nogc
62+
@property inout(void[])[] gcRanges() inout return nothrow @nogc
6363
{
6464
return _gcRanges[];
6565
}

0 commit comments

Comments
 (0)