breaking change: 'concept' is now a keyword and used instead of 'generic'

This commit is contained in:
Araq 2015-03-23 00:51:04 +01:00
commit f6ff01572e
15 changed files with 462 additions and 475 deletions

View file

@ -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