aboutsummaryrefslogtreecommitdiff
path: root/patches
diff options
context:
space:
mode:
Diffstat (limited to 'patches')
-rw-r--r--patches/patches/070_comptime5.patch6
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");