Closed Bug 1612135 Opened 10 months ago Closed 10 months ago

Enable instantiation of Result<V, E> with E that is a MOZ_NON_PARAM_TYPE

Categories

(Core :: MFBT, task)

task
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla74
Tracking Status
firefox74 --- fixed

People

(Reporter: sg, Assigned: sg)

References

Details

Attachments

(1 file)

Currently, instantiating Result<V, E> with an E that is a MOZ_NON_PARAM_TYPE fails builds with --enable-clang-plugin. One relevant type is mozilla::dom::ErrorResult.

Attachment #9123523 - Attachment description: Bug 1612135 - Allow Result<V, E> to be used with a MOZ_NON_PARAM_TYPE E. r=bzbarsky → Bug 1612135 - Allow Result<V, E> to be used with a MOZ_NON_PARAM_TYPE E.
Blocks: 1412856
Pushed by sgiesecke@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/cb607bf4c55f
Allow Result<V, E> to be used with a MOZ_NON_PARAM_TYPE E. r=emilio,froydnj
Status: NEW → RESOLVED
Closed: 10 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla74
You need to log in before you can comment on or make changes to this bug.