From 751b303362f98d8b62364d43cffd4d93034d4e10 Mon Sep 17 00:00:00 2001 From: Dave Gauer Date: Wed, 21 Apr 2021 09:47:16 -0400 Subject: add ex069 comptime 4 --- patches/patches/069_comptime4.patch | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 patches/patches/069_comptime4.patch (limited to 'patches') 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; -- cgit v1.2.3-ZIG