Yep, looks like a bug. You found the workaround there though: make your own constructor proc newContainer[T:Job](j:T):Container[T] = result.job = j Run
- Can't instantiate generic object with type restriction alexeypetrushin
- Can't instantiate generic object with type restrictio... shirleyquirk
- Can't instantiate generic object with type restri... alexeypetrushin
- Can't instantiate generic object with type re... gemath
- Can't instantiate generic object with typ... alexeypetrushin
- Can't instantiate generic object wit... shirleyquirk