Closed Bug 1247686 Opened 8 years ago Closed 8 years ago

Type-check the Cycle Collector macros

Categories

(Core :: DOM: Core & HTML, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1247679
Tracking Status
firefox47 --- affected

People

(Reporter: terrence, Assigned: terrence)

References

Details

Attachments

(1 file)

In bug 1247515, Andrew suggested that we could add a shim function to check the type. We don't even need to go that far, however. With C++11 decltype and mozilla::IsSame, we can just compare the actual type against the expected type.
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → DUPLICATE
For future reference, the attached built for me locally.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: