diff --git a/stdx/d/parser.d b/stdx/d/parser.d index ea93afc..7152b5d 100644 --- a/stdx/d/parser.d +++ b/stdx/d/parser.d @@ -881,6 +881,11 @@ alias core.sys.posix.stdio.fileno fileno; { mixin(traceEnterAndExit!(__FUNCTION__)); auto node = new BaseClass; + if (current.type.isProtection()) + { + warn("Use of base class protection is deprecated."); + advance(); + } if (currentIs(tok!"typeof")) { node.typeofExpression = parseTypeofExpression();