Rename "ReturnValue" unions to "Owning" unions

RESOLVED FIXED in mozilla27

Status

()

RESOLVED FIXED
5 years ago
5 years ago

People

(Reporter: bzbarsky, Assigned: bzbarsky)

Tracking

(Blocks: 1 bug)

unspecified
mozilla27
x86
Mac OS X
Points:
---
Bug Flags:
in-testsuite -

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

Comment hidden (empty)
(Assignee)

Comment 1

5 years ago
Created attachment 804191 [details] [diff] [review]
Rename FooReturnValue unions to OwningFoo, because we use them for more than just return values.
Attachment #804191 - Flags: review?(dzbarsky)
(Assignee)

Updated

5 years ago
Whiteboard: [need review]
Comment on attachment 804191 [details] [diff] [review]
Rename FooReturnValue unions to OwningFoo, because we use them for more than just return values.

Review of attachment 804191 [details] [diff] [review]:
-----------------------------------------------------------------

::: dom/bindings/Codegen.py
@@ +813,1 @@
>  

What do you think of naming this ownsMembers instead?  I think it's a little clearer, but I don't care much either way.
Attachment #804191 - Flags: review?(dzbarsky) → review+
(Assignee)

Comment 3

5 years ago
Which "this"?  I think you have Splinter quoting fail...
Flags: needinfo?(dzbarsky)
(In reply to Boris Zbarsky [:bz] from comment #3)
> Which "this"?  I think you have Splinter quoting fail...

Hmm, weird. FWIW you can click on review to see my comments in the splinter view.  I was talking about 
owningUnionStructs[name] = CGUnionStruct(t, providers[0],
                                         isOwning=True)
Flags: needinfo?(dzbarsky)
(Assignee)

Comment 5

5 years ago
Ah.  Yes, makes sense.  Will do.
(Assignee)

Comment 6

5 years ago
https://hg.mozilla.org/integration/mozilla-inbound/rev/99a789a320c7
Flags: in-testsuite-
Whiteboard: [need review]
Target Milestone: --- → mozilla27
https://hg.mozilla.org/mozilla-central/rev/99a789a320c7
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.