diff --git a/src/Reporter.h b/src/Reporter.h index c243d6e98d..8f8e54e251 100644 --- a/src/Reporter.h +++ b/src/Reporter.h @@ -31,6 +31,7 @@ using StringValPtr = IntrusivePtr; namespace detail { +class AssertStmt; class Location; class Expr; @@ -59,6 +60,7 @@ class InterpreterException : public ReporterException { protected: friend class Reporter; + friend class detail::AssertStmt; InterpreterException() { } };