From 92460f69eef7d0e8781095f958f7936e4ac7bb31 Mon Sep 17 00:00:00 2001 From: Dave Gauer Date: Sun, 11 Apr 2021 11:19:58 -0400 Subject: add ex065 builtins2 --- patches/patches/065_builtins2.patch | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 patches/patches/065_builtins2.patch (limited to 'patches') diff --git a/patches/patches/065_builtins2.patch b/patches/patches/065_builtins2.patch new file mode 100644 index 0000000..1c2acf5 --- /dev/null +++ b/patches/patches/065_builtins2.patch @@ -0,0 +1,26 @@ +43c43 +< const print = import(std).debug.print; // Oops! +--- +> const print = @import("std").debug.print; +60,61c60,61 +< ??? = &narcissus; +< ??? = &narcissus; +--- +> narcissus.me = &narcissus; +> narcissus.myself = &narcissus; +71c71 +< const T2 = narcissus.fetchTheMostBeautifulType(); +--- +> const T2 = Narcissus.fetchTheMostBeautifulType(); +106c106 +< if (fields[0].??? != void) { +--- +> if (fields[0].field_type != void) { +110c110 +< if (fields[1].??? != void) { +--- +> if (fields[1].field_type != void) { +114c114 +< if (fields[2].??? != void) { +--- +> if (fields[2].field_type != void) { -- cgit v1.2.3-ZIG