remove enum to/from int casting syntax; add `@enumToInt`/`@intToEnum`

see #1061
a3ddd0826bAndrew Kelley committed on 6/19/2018, 7:50:38 AMparent626b73e
9 files changedLine totals unavailable