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 | 9c095c60a41f1e43356ee80879436523cf4aa7ab (patch) | |
| tree | 8c31a42b943ad013b483006a819e9fbe40424f2c /patches | |
| parent | 0efd9340f024bbcc683fa8fb9cdebc6c5a5992b1 (diff) | |
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"); |
