From cae0fbe0b2ae1d24769d322e4a2b6c46ca3d97d7 Mon Sep 17 00:00:00 2001 From: Dave Gauer Date: Mon, 26 Apr 2021 20:01:54 -0400 Subject: add ex073 comptime 8 --- patches/patches/073_comptime8.patch | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 patches/patches/073_comptime8.patch (limited to 'patches') diff --git a/patches/patches/073_comptime8.patch b/patches/patches/073_comptime8.patch new file mode 100644 index 0000000..5b50edb --- /dev/null +++ b/patches/patches/073_comptime8.patch @@ -0,0 +1,8 @@ +35c35 +< const my_llama = getLlama(5); +--- +> const my_llama = getLlama(4); +40c40 +< fn getLlama(i: usize) u32 { +--- +> fn getLlama(comptime i: usize) u32 { -- cgit v1.2.3-ZIG