omni
omni copied to clipboard
Make generics work for any type
struct Blah:
x
struct Something[T]:
a T
init:
something = Something(Blah()) #Something[Blah]
something = Something(0) #Something[int]
Is it really necessary, considering that Data
already work with this?
Related to #1
This can easily be solved by taking the same approach that has been taken for Datas in #67