breaking change: 'concept' is now a keyword and used instead of 'generic'
This commit is contained in:
parent
210fab10b2
commit
f6ff01572e
15 changed files with 462 additions and 475 deletions
|
|
@ -1,5 +1,5 @@
|
|||
type
|
||||
hasFieldX = generic z
|
||||
hasFieldX = concept z
|
||||
z.x is int
|
||||
|
||||
obj_x = object
|
||||
|
|
@ -7,7 +7,7 @@ type
|
|||
|
||||
ref_obj_x = ref object
|
||||
x: int
|
||||
|
||||
|
||||
ref_to_obj_x = ref obj_x
|
||||
|
||||
p_o_x = ptr obj_x
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue