aboutsummaryrefslogtreecommitdiffstats
path: root/nihil.ucl/type.ccm
diff options
context:
space:
mode:
authorLexi Winter <lexi@le-fay.org>2025-06-22 23:25:26 +0100
committerLexi Winter <lexi@le-fay.org>2025-06-22 23:25:26 +0100
commit8cbb82a1f6eb6605a4615d30922b777e7bf1e4d8 (patch)
treec79559e81aa9570e22a13ec0439ff7eee05f9ffd /nihil.ucl/type.ccm
parent639b270eed81f7c2627d810057d188e2e8ee67f9 (diff)
downloadnihil-8cbb82a1f6eb6605a4615d30922b777e7bf1e4d8.tar.gz
nihil-8cbb82a1f6eb6605a4615d30922b777e7bf1e4d8.tar.bz2
nihil.ucl: add map<>
Diffstat (limited to 'nihil.ucl/type.ccm')
-rw-r--r--nihil.ucl/type.ccm6
1 files changed, 4 insertions, 2 deletions
diff --git a/nihil.ucl/type.ccm b/nihil.ucl/type.ccm
index 2aef1a6..5050e7a 100644
--- a/nihil.ucl/type.ccm
+++ b/nihil.ucl/type.ccm
@@ -76,12 +76,14 @@ export struct type_mismatch : error {
{}
// The type we expected.
- auto expected_type(this type_mismatch const &self) -> object_type {
+ auto expected_type(this type_mismatch const &self) -> object_type
+ {
return self._expected_type;
}
// The type we got.
- auto actual_type(this type_mismatch const &self) -> object_type {
+ auto actual_type(this type_mismatch const &self) -> object_type
+ {
return self._actual_type;
}