New issue
Advanced search Search tips

Issue 798471 link

Starred by 2 users

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Task



Sign in to add a comment

bindings: Have NullValue() declarations in either NativeValueTraits or IDLBase (and children), not both

Project Member Reported by raphael....@intel.com, Jan 2 2018

Issue description

This came up in https://chromium-review.googlesource.com/c/chromium/src/+/831497.

Right now we have NativeValueTraits<T>::NullValue() only when T is IDLByteString, IDLString or IDLUSVString. Meanwhile, IDLNullable<T> also implements NullValue(), which is quite confusing. At the moment one of the reasons why we have NVT<T>::NullValue() in the first place is that interface types do not inherit from IDLBase but do use NVT, so it is easier to add methods, variables and typedefs there.

It would be good to unify all this in a single place to reduce confusion.

(see also: issue 798470)
 
caveat: IDLBase isn't presently used for interface types, which do have NVT<T>::NullValue as of my CL.
Cc: peria@chromium.org
Project Member

Comment 3 by sheriffbot@chromium.org, Jan 10

Labels: Hotlist-Recharge-Cold
Status: Untriaged (was: Available)
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue.

Sorry for the inconvenience if the bug really should have been left as Available.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Status: Available (was: Untriaged)

Sign in to add a comment