add ex073 comptime 8
This commit is contained in:
parent
8dd47f8bcc
commit
cae0fbe0b2
3 changed files with 77 additions and 0 deletions
8
patches/patches/073_comptime8.patch
Normal file
8
patches/patches/073_comptime8.patch
Normal file
|
|
@ -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 {
|
||||
Loading…
Add table
Add a link
Reference in a new issue