From 0f30adbc3d6379803b69e23937bc02a6f67540a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Hillerstr=C3=B6m?= Date: Thu, 28 Jul 2022 16:30:07 +0100 Subject: [PATCH] Minor syntactic consistency fix (#68) Change pseudo equality operator from `==` to `=`. --- document/core/appendix/algorithm.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/document/core/appendix/algorithm.rst b/document/core/appendix/algorithm.rst index 8ddbd63170..1fd7eecce1 100644 --- a/document/core/appendix/algorithm.rst +++ b/document/core/appendix/algorithm.rst @@ -67,7 +67,7 @@ Equivalence and subtyping checks can be defined on these types. func matches(t1 : val_type, t2 : val_type) : bool = return (is_num t1 && is_num t2 && t1 = t2) || - (is_vec t1 && is_vec t2 && t1 == t2) || + (is_vec t1 && is_vec t2 && t1 = t2) || (is_ref t1 && is_ref t2 && matches_ref(t1, t2)) || t1 = Bot