commit a670812602ab986eb7543f905b4734b2f94de40c
parent 157c35dfb7ac97d1c349d9db91be4bce02a692c9
Author: citbl <citbl@citbl.org>
Date: Thu, 25 Jun 2026 16:57:36 +1000
minor
Diffstat:
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/makefile b/makefile
@@ -36,7 +36,7 @@ clean:
rm -rf ${BIN} ${BIN}.* err.log
release: clean
- cc ${STD} -O02 -Wall -Wshadow -Wextra -Wpedantic -Werror -o ${BIN} ${SRC} ${LIB}
+ cc ${STD} -O2 -Wall -Wshadow -Wextra -Wpedantic -Werror -o ${BIN} ${SRC} ${LIB}
check: clean
cc ${STD} -g -Wall -Wextra -fsanitize=address -fsanitize=undefined -o ${BIN} ${SRC} ${LIB}
diff --git a/oxdesign.ox b/oxdesign.ox
@@ -14,7 +14,7 @@ fx add (x i32, y i32) i32 {
return x + y;
}
-fx flip(a some, b some) (some, some) => b, a
+fx flip(a T, b T) (T, T) => b, a
fx add (i i32, j i32) i32 {
return i + j;