소스 검색

Fix constant conversion for complex numbers from integers

Ginger Bill 8 년 전
부모
커밋
90fc9abeae
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  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);
 }