IDL compiler: Improve IdlType.unwrap
Improves ease-of-use of IdlType.unwrap. idl_type.unwrap() # Unwrap both of typedef and nullable idl_type.unwrap(typedef=True) # Unwrap only typedef This style works better when we'll add the third 'unwrappable'. Bug: 839389 Change-Id: I2b6a9a81a57dac8228eba32c676c9a21c00284a4 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1896479 Commit-Queue: Yuki Shiino <yukishiino@chromium.org> Reviewed-by:Hitoshi Yoshida <peria@chromium.org> Cr-Commit-Position: refs/heads/master@{#712464}
Showing
Please register or sign in to comment