commit | d7b481029e97dc0604813691a677f9e73aed56c6 | [log] [tgz] |
---|---|---|
author | Devin Jeanpierre <jeanpierreda@google.com> | Thu Mar 31 04:15:03 2022 -0700 |
committer | Copybara-Service <copybara-worker@google.com> | Thu Mar 31 04:15:34 2022 -0700 |
tree | 2f3b3f955f7f6ca13eb4f3ace93e84b9024d77c3 | |
parent | c05cac57483524551b24c56d4478a45551910d9d [diff] |
During function generation, always emit an `UnsupportedItem` instead of crashing. This serves two goals: 1. Simplifies the API. 2. Prevents crashes, instead producing errors in the output. I think it's an easy win, and that both of these are preferable outcomes, but LMK if I'm wrong. PiperOrigin-RevId: 438532450