From 001c9917ace09f7b1c80d96eb067e1d37e86c546 Mon Sep 17 00:00:00 2001 From: Lexi Winter Date: Fri, 27 Jun 2025 12:08:58 +0100 Subject: improve error handling --- nihil.ucl/type.ccm | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'nihil.ucl/type.ccm') diff --git a/nihil.ucl/type.ccm b/nihil.ucl/type.ccm index 088d196..cd98c01 100644 --- a/nihil.ucl/type.ccm +++ b/nihil.ucl/type.ccm @@ -6,13 +6,14 @@ module; #include #include +#include #include #include export module nihil.ucl:type; -import :error; +import nihil; namespace nihil::ucl { @@ -50,8 +51,8 @@ export struct type_mismatch : error { auto actual_type(this type_mismatch const &self) -> object_type; private: - object_type _expected_type; - object_type _actual_type; + object_type m_expected_type; + object_type m_actual_type; }; } // namespace nihil::ucl -- cgit v1.2.3