fix type inference for enums
fix type inference for enums

ABcDexter/cython,dahebolangkuan/cython,acrispin/cython,scoder/cython,dahebolangkuan/cython,roxyboy/cython,scoder/cython,encukou/cython,andreasvc/cython,slonik-az/cython,fabianrost84/cython,dahebolangkuan/cython,hhsprings/cython,encukou/cython,andreasvc/cython,ChristopherHogan/cython,roxyboy/cython,da-woods/cython,JelleZijlstra/cython,cython/cython,c-blake/cython,slonik-az/cython,madjar/cython,achernet/cython,fperez/cython,marscher/cython,mrGeen/cython,fperez/cython,slonik-az/cython,c-blake/cython,c-blake/cython,dahebolangkuan/cython,scoder/cython,cython/cython,hickford/cython,achernet/cython,achernet/cython,fabianrost84/cython,acrispin/cython,andreasvc/cython,mrGeen/cython,ABcDexter/cython,roxyboy/cython,hickford/cython,andreasvc/cython,c-blake/cython,ABcDexter/cython,da-woods/cython,JelleZijlstra/cython,acrispin/cython,acrispin/cython,fabianrost84/cython,encukou/cython,JelleZijlstra/cython,mrGeen/cython,c-blake/cython,marscher/cython,slonik-az/cython,madjar/cython,cython/cython,ABcDexter/cython,fabianrost84/cython,hhsprings/cython,marscher/cython,achernet/cython,dahebolangkuan/cython,fperez/cython,ABcDexter/cython,mrGeen/cython,mcanthony/cython,marscher/cython,madjar/cython,JelleZijlstra/cython,scoder/cython,madjar/cython,slonik-az/cython,fabianrost84/cython,roxyboy/cython,ChristopherHogan/cython,hhsprings/cython,fperez/cython,andreasvc/cython,madjar/cython,encukou/cython,cython/cython,fperez/cython,mcanthony/cython,da-woods/cython,marscher/cython,acrispin/cython,ChristopherHogan/cython,encukou/cython,roxyboy/cython,hhsprings/cython,mcanthony/cython,da-woods/cython,achernet/cython,mcanthony/cython,hickford/cython,hhsprings/cython,hickford/cython,hickford/cython,mrGeen/cython,mcanthony/cython,JelleZijlstra/cython