You specified an enum return type other then the ones supported from the standard.
<-test::testEnum: string { } // ^^^^^^ string is not a supported type
Use a supported type.