Skip to content

Commit

Permalink
should still stay a warning for now
Browse files Browse the repository at this point in the history
  • Loading branch information
WalterBright committed Oct 9, 2011
1 parent 24c48a8 commit 45b2b4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/func.c
Expand Up @@ -481,7 +481,7 @@ void FuncDeclaration::semantic(Scope *sc)

#if DMDV2
if (!isOverride())
error(loc, "overrides base class function %s, but is not marked with 'override'", fdv->toPrettyChars());
warning(loc, "overrides base class function %s, but is not marked with 'override'", fdv->toPrettyChars());
#endif

if (fdv->toParent() == parent)
Expand Down

0 comments on commit 45b2b4d

Please sign in to comment.