I've defined a custom type in my nim script, here's the definition:
    
    
    type
        Terminal =  tuple
            name: string
            terminalType: TerminalType # enum defined elsewhere in the program
            parentComponent: ref Component # type defined elsewhere in the 
program
    
    
    Run

However when I use `.add()` to append a `Terminal` to a `seq[Terminal]` I get a 
type mismatch error. How do I fix this? 

Reply via email to