diff options
author | Dave Gauer <dave@ratfactor.com> | 2021-04-11 11:19:58 -0400 |
---|---|---|
committer | Dave Gauer <dave@ratfactor.com> | 2021-04-11 11:19:58 -0400 |
commit | 92460f69eef7d0e8781095f958f7936e4ac7bb31 (patch) | |
tree | aba1954897ea00049fcf1a2ade2e0321dfcbe5f5 /patches | |
parent | d192e528256f7b9986eddc511df01540bd0f62a2 (diff) | |
download | ziglings-92460f69eef7d0e8781095f958f7936e4ac7bb31.tar.gz ziglings-92460f69eef7d0e8781095f958f7936e4ac7bb31.tar.bz2 ziglings-92460f69eef7d0e8781095f958f7936e4ac7bb31.tar.xz ziglings-92460f69eef7d0e8781095f958f7936e4ac7bb31.zip |
add ex065 builtins2
Diffstat (limited to 'patches')
-rw-r--r-- | patches/patches/065_builtins2.patch | 26 |
1 files changed, 26 insertions, 0 deletions
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) { |