diff options
author | Dave Gauer <dave@ratfactor.com> | 2021-04-26 20:01:54 -0400 |
---|---|---|
committer | Dave Gauer <dave@ratfactor.com> | 2021-04-26 20:01:54 -0400 |
commit | cae0fbe0b2ae1d24769d322e4a2b6c46ca3d97d7 (patch) | |
tree | cf772e07783a87b36d7594fbe0e1b358249bde28 /patches | |
parent | 8dd47f8bccedfb9c9c6bcdc419c67a4b7d10977e (diff) | |
download | ziglings-cae0fbe0b2ae1d24769d322e4a2b6c46ca3d97d7.tar.gz ziglings-cae0fbe0b2ae1d24769d322e4a2b6c46ca3d97d7.tar.bz2 ziglings-cae0fbe0b2ae1d24769d322e4a2b6c46ca3d97d7.tar.xz ziglings-cae0fbe0b2ae1d24769d322e4a2b6c46ca3d97d7.zip |
add ex073 comptime 8
Diffstat (limited to 'patches')
-rw-r--r-- | patches/patches/073_comptime8.patch | 8 |
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 { |