-
Notifications
You must be signed in to change notification settings - Fork 64
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
Code cleanup for Kotlin-based TypeScript generator (Comments from code review 21-07-29) #444
Conversation
Making the switch exhaustive without default actually didn't work due to Please see here for more information: https://stackoverflow.com/questions/39225553/complete-switch-on-enum-in-java-produces-missing-return-statement-error |
@@ -132,7 +132,9 @@ private GeneratorBase createGenerator(Target target, FileConfig fileConfig, | |||
case Python: { | |||
return new PythonGenerator(fileConfig, errorReporter); | |||
} | |||
// FIXME: make case exhaustive |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Making the switch exhaustive without default actually didn't work due to Missing return statement
error.
Please see here for more information: https://stackoverflow.com/questions/39225553/complete-switch-on-enum-in-java-produces-missing-return-statement-error
…except for making the switch exhaustive due toe a missing return statement compile error.
No description provided.