1234567891011121314151617 |
- discard """
- output: '''(FirstName: James, LastName: Franco)'''
- """
- # bug #1547
- import tables
- type Person* = object
- FirstName*: string
- LastName*: string
- let people = {
- "001": Person(FirstName: "James", LastName: "Franco")
- }.toTable()
- echo people["001"]
|