Mon, 03 Aug 2009 15:16:25 -0400, Yigal Chripun wrote: > grauzone Wrote: > >> yigal chripun wrote: >>> this is a good start but as already noted by others, you can't specify >>> types with structs. we also can't use type tuples cause of the auto flatten >>> behavior. >> >> And why can't we use structs? Unless I've missed something, it wasn't >> explained in this thread. > > how can you pass types as arguments to your annotation if that annotation is > a struct? > for instance, what would be the struct for: > @my_annotation(int, 4)
Perhaps @my_annotation!int(4)