Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Abnormal random enumerators generation in c# #550

Closed
PaoloCifelli opened this issue Nov 27, 2019 · 1 comment
Closed

Abnormal random enumerators generation in c# #550

PaoloCifelli opened this issue Nov 27, 2019 · 1 comment

Comments

@PaoloCifelli
Copy link

When we generate classes that contain references to enums randomly the enums are not generated correctly: this could be solved by modifying
in class AbstractCSharpCodegen at line 438
var.allowableValues = refModel.allowableValues;
with
var.allowableValues = new HashMap<>(refModel.allowableValues);
Thanks

frantuma added a commit that referenced this issue Dec 13, 2019
refs #550 - fix random enum failure in csharp
@frantuma
Copy link
Member

Thanks for reporting this! fixed in #561

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants