commit | 6de6f090852edc44b9c97fb80bcf22c0593786a2 | [log] [tgz] |
---|---|---|
author | Scott Graham <scottmg@chromium.org> | Tue Nov 06 05:40:41 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Tue Nov 06 05:40:41 2018 |
tree | 622b56b376df6a98761b4f3924a6ebd29984e66c | |
parent | bc7a25ffa792162a254a96e8aa60dc33be696017 [diff] |
Fuchsia: Handling of more cases for default initialization in FIDL/JS Initializing a struct member with the value of an enum would previously fail to compile; implement this. This is slightly awkward because the front end does not scope the enum value to the enum like the C++ (and JS) bindings but rather only to the library. So the compiler needs to know the type to which it's being assigned and use that to determine how the enum's value is intended to be qualified. Bug: 883496 Change-Id: Id8a9f75d07bb0acb11963ecbd37d4915b36c28e0 Reviewed-on: https://chromium-review.googlesource.com/c/1313286 Commit-Queue: Scott Graham <scottmg@chromium.org> Reviewed-by: Wez <wez@chromium.org> Cr-Commit-Position: refs/heads/master@{#605601}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .