t2tables.nim 142 B

1234567891011121314
  1. # bug #3669
  2. import tables
  3. type
  4. G[T] = object
  5. inodes: Table[int, T]
  6. rnodes: Table[T, int]
  7. var g: G[string]
  8. echo g.rnodes["foo"]