diff options
Diffstat (limited to 'patches')
-rw-r--r-- | patches/patches/069_comptime4.patch | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/patches/patches/069_comptime4.patch b/patches/patches/069_comptime4.patch new file mode 100644 index 0000000..3d662a7 --- /dev/null +++ b/patches/patches/069_comptime4.patch @@ -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; |