Summary: | [Web ID] Overload resolution is wrong if one of the types is a nullable union | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Chris Dumez <cdumez> | ||||
Component: | Bindings | Assignee: | Chris Dumez <cdumez> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | cdumez, commit-queue, darin, esprehn+autocc, kondapallykalyan, sam | ||||
Priority: | P2 | ||||||
Version: | WebKit Nightly Build | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Bug Depends on: | 163764 | ||||||
Bug Blocks: | 163795 | ||||||
Attachments: |
|
Description
Chris Dumez
2016-10-21 16:13:20 PDT
Created attachment 292438 [details]
Patch
Comment on attachment 292438 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=292438&action=review > Source/WebCore/bindings/scripts/test/TestObj.idl:311 > + void overloadWithNullableUnion((TestObj or TestNode)? objectOrNode); Passing null here would previously call the overload below instead of this one. Comment on attachment 292438 [details] Patch Clearing flags on attachment: 292438 Committed r207705: <http://trac.webkit.org/changeset/207705> All reviewed patches have been landed. Closing bug. |