From e780328b253dfd948ca84535767c98dd2adf383e Mon Sep 17 00:00:00 2001 From: Dave Gauer Date: Tue, 13 Apr 2021 20:47:05 -0400 Subject: Add ex066, the first comptime explanation --- patches/patches/066_comptime.patch | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 patches/patches/066_comptime.patch (limited to 'patches') diff --git a/patches/patches/066_comptime.patch b/patches/patches/066_comptime.patch new file mode 100644 index 0000000..e7130c2 --- /dev/null +++ b/patches/patches/066_comptime.patch @@ -0,0 +1,6 @@ +65,66c65,66 +< var var_int = 12345; +< var var_float = 987.654; +--- +> var var_int: u32 = 12345; +> var var_float: f32 = 987.654; -- cgit v1.2.3-ZIG