aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/patches/patches
diff options
context:
space:
mode:
authorDave Gauer <dave@ratfactor.com>2021-04-21 09:47:16 -0400
committerDave Gauer <dave@ratfactor.com>2021-04-21 09:47:16 -0400
commitbe2b98f4047d81804d0d65e73a25828420e6a26c (patch)
treeccc63767c201f1bc4c5ddbb337cadd04f9e76de4 /patches/patches
parent17a22adce10e016489feb243587f0bf80cdd2f76 (diff)
add ex069 comptime 4
Diffstat (limited to 'patches/patches')
-rw-r--r--patches/patches/069_comptime4.patch6
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;