MichalStrehovsky / iltrim

MIT License
9 stars 1 forks source link

Keep all fields on enums #67

Closed MichalStrehovsky closed 2 years ago

MichalStrehovsky commented 2 years ago

Enums are special and we should just keep all fields on them.

In the typedefintitionnode, get the type system representation of the type by calling _module.GetType(Handle). The check IsEnum to see if we're an enum.