[mojo] Update mojo .tmpl file to support nesting enums.
Before this change, if the min_version was set on a nested enum then it would not compile. This change updates that if statement and adds a new test case to validate the scenario. Test: Run mojo_unittest.exe Bug: 896777 Change-Id: I68fe3878d89d114b5601a00770d9653dc764ebd0 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2119660 Commit-Queue: Emily Andrews <emiled@microsoft.com> Reviewed-by:Ken Rockot <rockot@google.com> Cr-Commit-Position: refs/heads/master@{#754155}
Showing
Please register or sign in to comment