From 743658248e4725e2d85c8817d70b97af00c69e83 Mon Sep 17 00:00:00 2001 From: Arne Welzel Date: Mon, 5 Jun 2023 19:17:27 +0200 Subject: [PATCH] Reporter: Allow AssertStmt to throw InterpreterException --- src/Reporter.h | 2 ++ 1 file changed, 2 insertions(+) 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() { } };