Nimtype Hoge = object x: int y: int
Nimtype Hoge = ref object x: int y: int
Nimtype Piyo = object x: int type Hoge = ref Piyo
Nimtype Hoge = ptr object x: int y: int
ref object