fix Issue 9130 - Wrong codegen for compile time constructed struct
Merge pull request #2068 from WalterBright/fix9130

fix Issue 9130 - Wrong codegen for compile time constructed struct
fix Issue 10142 - enum value semantic problem that declared in class member