Skip to content

Commit df3f780

Browse files
committed
remove pure from setBookmark
We use malloc and GC.addRange
1 parent df2b81e commit df3f780

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/dparse/parser.d

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8924,7 +8924,7 @@ protected: final:
89248924

89258925
alias Bookmark = size_t;
89268926

8927-
Bookmark setBookmark() pure nothrow @safe
8927+
Bookmark setBookmark() nothrow @safe // not pure since we allocate memory
89288928
{
89298929
// mixin(traceEnterAndExit!(__FUNCTION__));
89308930
suppressMessages ~= suppressedErrorCount();

0 commit comments

Comments
 (0)