Reporter: Allow AssertStmt to throw InterpreterException

This commit is contained in:
Arne Welzel 2023-06-05 19:17:27 +02:00
parent e8811a55ef
commit 743658248e

View file

@ -31,6 +31,7 @@ using StringValPtr = IntrusivePtr<StringVal>;
namespace detail namespace detail
{ {
class AssertStmt;
class Location; class Location;
class Expr; class Expr;
@ -59,6 +60,7 @@ class InterpreterException : public ReporterException
{ {
protected: protected:
friend class Reporter; friend class Reporter;
friend class detail::AssertStmt;
InterpreterException() { } InterpreterException() { }
}; };