From 6f9fa4b7ccfb93689f183ebbb885b531e404c267 Mon Sep 17 00:00:00 2001 From: namark <namark@disroot.org> Date: Tue, 20 Jul 2021 02:36:44 +0400 Subject: [PATCH] nailed it --- unit_tests/point.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unit_tests/point.cpp b/unit_tests/point.cpp index 045a09b..5451116 100644 --- a/unit_tests/point.cpp +++ b/unit_tests/point.cpp @@ -522,7 +522,7 @@ void DefyPromotion() // same for vector buny b{p,p}; assert( buny( -b >> 1 ) == buny(-b) ); - // assert( buny( -b >> 1 ) != -b >> 1 ); // TODO: doesn't compile, since types are not same either... maybe should compile, since we're allowing promotion now + assert( buny( -b >> 1 ) != -b >> 1 ); // all fixed by a sane element type vuny v{naius{1}}; -- GitLab