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

Commit

Permalink
ctfe-code is often annotated with pure @safe we want to print anyway
Browse files Browse the repository at this point in the history
  • Loading branch information
UplinkCoder committed Sep 12, 2016
1 parent d6924a9 commit 515dc20
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/object.d
Expand Up @@ -3186,8 +3186,8 @@ bool _xopCmp(in void*, in void*)
{
throw new Error("TypeInfo.compare is not implemented");
}
void __ctfeWrite(const string s) {}
void __ctfeWriteln(const string s)
void __ctfeWrite(const string s) @nogc @safe pure nothrow {}
void __ctfeWriteln(const string s) @nogc @safe pure nothrow
{
__ctfeWrite(s);
__ctfeWrite("\n");
Expand Down

0 comments on commit 515dc20

Please sign in to comment.