From 9fcd7f5fb785e8181cca4852b0e353c2300bbaab Mon Sep 17 00:00:00 2001 From: Roland Conybeare Date: Thu, 26 Feb 2026 12:28:14 +1100 Subject: [PATCH] xo-expression: fix type-unification utest on OSX --- xo-expression/utest/type_unifier.test.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/xo-expression/utest/type_unifier.test.cpp b/xo-expression/utest/type_unifier.test.cpp index e6e411c2..054f4173 100644 --- a/xo-expression/utest/type_unifier.test.cpp +++ b/xo-expression/utest/type_unifier.test.cpp @@ -146,7 +146,11 @@ namespace xo { .expect_unify_ok_ = true, .expect_unify_id_{type_var::from_chars("a")}, .expect_unify_concrete_ = true, +#ifdef __APPLE__ + .expect_concrete_typename_ = "long long", +#else .expect_concrete_typename_ = "long int", +#endif .expect_unify_variable_ = false, }, /* same, but reverse order */ @@ -157,7 +161,11 @@ namespace xo { .expect_unify_ok_ = true, .expect_unify_id_{type_var::from_chars("a")}, .expect_unify_concrete_ = true, +#ifdef __APPLE__ + .expect_concrete_typename_ = "long long", +#else .expect_concrete_typename_ = "long int", +#endif .expect_unify_variable_ = false, }, /* matching concrete types */