add ex070 comptime 5
This commit is contained in:
parent
55bede231b
commit
618eade1e6
3 changed files with 146 additions and 0 deletions
6
patches/patches/070_comptime5.patch
Normal file
6
patches/patches/070_comptime5.patch
Normal file
|
|
@ -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");
|
||||
Loading…
Add table
Add a link
Reference in a new issue