diff --git a/src/compiler/sema_decls.c b/src/compiler/sema_decls.c index 05972fd33..76c55838e 100755 --- a/src/compiler/sema_decls.c +++ b/src/compiler/sema_decls.c @@ -1972,6 +1972,7 @@ static bool sema_check_operator_method_validity(SemaContext *context, Decl *meth // Changed in OVERLOAD_MINUS analysis UNREACHABLE } + ASSERT_SPAN(method, "Method had unexpected operator %d", operator); UNREACHABLE }