add ex069 comptime 4
This commit is contained in:
parent
ec543ff49b
commit
751b303362
4 changed files with 74 additions and 2 deletions
6
patches/patches/069_comptime4.patch
Normal file
6
patches/patches/069_comptime4.patch
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
45,46c45,46
|
||||
< fn makeSequence(comptime T: type, ??? size: usize) [???]T {
|
||||
< var sequence: [???]T = undefined;
|
||||
---
|
||||
> fn makeSequence(comptime T: type, comptime size: usize) [size]T {
|
||||
> var sequence: [size]T = undefined;
|
||||
Loading…
Add table
Add a link
Reference in a new issue