diff options
author | Dave Gauer <dave@ratfactor.com> | 2021-04-21 20:08:34 -0400 |
---|---|---|
committer | Dave Gauer <dave@ratfactor.com> | 2021-04-21 20:08:34 -0400 |
commit | 618eade1e625f99364f1cde26e79d37eb1eb4040 (patch) | |
tree | 8c31a42b943ad013b483006a819e9fbe40424f2c /patches | |
parent | 55bede231b2e1069edaf8d73aa565d8382fcb2b4 (diff) | |
download | ziglings-618eade1e625f99364f1cde26e79d37eb1eb4040.tar.gz ziglings-618eade1e625f99364f1cde26e79d37eb1eb4040.tar.bz2 ziglings-618eade1e625f99364f1cde26e79d37eb1eb4040.tar.xz ziglings-618eade1e625f99364f1cde26e79d37eb1eb4040.zip |
add ex070 comptime 5
Diffstat (limited to 'patches')
-rw-r--r-- | patches/patches/070_comptime5.patch | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/patches/patches/070_comptime5.patch b/patches/patches/070_comptime5.patch new file mode 100644 index 0000000..1c56719 --- /dev/null +++ b/patches/patches/070_comptime5.patch @@ -0,0 +1,6 @@ +116,117c116,117 +< const walks_like_duck = ???; +< const quacks_like_duck = ???; +--- +> const walks_like_duck = @hasDecl(MyType, "waddle"); +> const quacks_like_duck = @hasDecl(MyType, "quack"); |