implicit generics types as return types. removed the error message for capturing incorrect uses of `proc`

This commit is contained in:
Zahary Karadjov 2012-04-21 02:37:24 +03:00
commit 251c44ff04
6 changed files with 67 additions and 60 deletions

View file

@ -5,7 +5,7 @@ discard """
type TAlphabet = enum
A, B, C
iterator items(E: typedesc): E =
iterator items(E: typedesc{enum}): E =
for v in low(E)..high(E):
yield v