mirror of
https://github.com/odin-lang/Odin.git
synced 2026-04-19 13:00:28 +00:00
Fix constant complex arithmetic bug
This commit is contained in:
@@ -651,6 +651,8 @@ void match_exact_values(ExactValue *x, ExactValue *y) {
|
||||
|
||||
case ExactValue_Complex:
|
||||
switch (y->kind) {
|
||||
case ExactValue_Complex:
|
||||
return;
|
||||
case ExactValue_Quaternion:
|
||||
*x = exact_value_to_quaternion(*x);
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user