aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/patches
diff options
context:
space:
mode:
authorDave Gauer <dave@ratfactor.com>2021-04-26 20:01:54 -0400
committerDave Gauer <dave@ratfactor.com>2021-04-26 20:01:54 -0400
commitdb20e9541a8646107225de61b5b7d1e54d710ab3 (patch)
treecf772e07783a87b36d7594fbe0e1b358249bde28 /patches
parent2ecf31daa4ad161bc3c708aa09551c30af246fa0 (diff)
add ex073 comptime 8
Diffstat (limited to 'patches')
-rw-r--r--patches/patches/073_comptime8.patch8
1 files changed, 8 insertions, 0 deletions
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 {