Explorar o código

Fix constant conversion for complex numbers from integers

Ginger Bill %!s(int64=8) %!d(string=hai) anos
pai
achega
90fc9abeae
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      code/demo.odin

+ 2 - 0
code/demo.odin

@@ -5,5 +5,7 @@
 
 main :: proc() {
 	x := 1+2i;
+	y := 3-4i;
+	x = x*y;
 	fmt.printf("%v\n", x);
 }