fork download
  1. # your code goes here
  2.  
  3. type
  4. Test = object
  5. name*: string
  6.  
  7. proc doStuff(t: Test) =
  8. echo t.name
  9.  
  10. var t1: Test = (name: "Martin)
  11. doStuff(t1)
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.nim(10, 22) Error: closing " expected
stdout
Standard output is empty