Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(218)

Issue 274503003: Implement effective overload set algorithm (Closed)

Created:
6 years, 7 months ago by Nils Barth (inactive)
Modified:
6 years, 7 months ago
Reviewers:
haraken, jsbell
CC:
blink-reviews, arv+blink, jsbell+bindings_chromium.org, sof, kouhei+bindings_chromium.org, abarth-chromium, marja+watch_chromium.org, blink-reviews-bindings_chromium.org, haraken, Nate Chapin
Visibility:
Public.

Description

Implement effective overload set algorithm To implement the overload resolution algorithm, I'm going to first implement basic algorithms from the spec (*without* changing generated code), then incrementally switch existing interfaces to the proper algorithm (changing the generated code). This implements the "effective overload set" algorithm: http://heycam.github.io/webidl/#dfn-effective-overload-set The code isn't very Pythonic, but it's directly from the spec. Next will be 'distinguishing index'. R=haraken BUG=293561 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=173625

Patch Set 1 #

Total comments: 1

Patch Set 2 : Tweaks #

Total comments: 9

Patch Set 3 : Fix spec bug, revise comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+88 lines, -0 lines) Patch
M Source/bindings/scripts/v8_interface.py View 1 2 3 chunks +88 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
Nils Barth (inactive)
First algorithm. https://codereview.chromium.org/274503003/diff/1/Source/bindings/scripts/v8_interface.py File Source/bindings/scripts/v8_interface.py (right): https://codereview.chromium.org/274503003/diff/1/Source/bindings/scripts/v8_interface.py#newcode2 Source/bindings/scripts/v8_interface.py:2: # coding=utf-8 This is so we can ...
6 years, 7 months ago (2014-05-07 09:12:47 UTC) #1
Jens Widell
Non-owner LGMT. Easy enough to read after just having read the corresponding section in the ...
6 years, 7 months ago (2014-05-07 11:37:26 UTC) #2
haraken
Thanks for working on this! No one has succeeded in implementing (even understanding) the overloaded ...
6 years, 7 months ago (2014-05-07 11:37:55 UTC) #3
jsbell
https://codereview.chromium.org/274503003/diff/20001/Source/bindings/scripts/v8_interface.py File Source/bindings/scripts/v8_interface.py (right): https://codereview.chromium.org/274503003/diff/20001/Source/bindings/scripts/v8_interface.py#newcode368 Source/bindings/scripts/v8_interface.py:368: E.g., f(optional long x) is listed as f() and ...
6 years, 7 months ago (2014-05-07 16:51:19 UTC) #4
jsbell
https://codereview.chromium.org/274503003/diff/20001/Source/bindings/scripts/v8_interface.py File Source/bindings/scripts/v8_interface.py (right): https://codereview.chromium.org/274503003/diff/20001/Source/bindings/scripts/v8_interface.py#newcode432 Source/bindings/scripts/v8_interface.py:432: # 8. If n > 0 and all arguments ...
6 years, 7 months ago (2014-05-07 17:07:15 UTC) #5
Nils Barth (inactive)
On 2014/05/07 11:37:26, Jens Lindström wrote: > Out of curiosity: what is the plan regarding ...
6 years, 7 months ago (2014-05-08 05:29:54 UTC) #6
Nils Barth (inactive)
Thanks, revised! https://codereview.chromium.org/274503003/diff/20001/Source/bindings/scripts/v8_interface.py File Source/bindings/scripts/v8_interface.py (right): https://codereview.chromium.org/274503003/diff/20001/Source/bindings/scripts/v8_interface.py#newcode368 Source/bindings/scripts/v8_interface.py:368: E.g., f(optional long x) is listed as ...
6 years, 7 months ago (2014-05-08 05:51:07 UTC) #7
Nils Barth (inactive)
The CQ bit was checked by nbarth@chromium.org
6 years, 7 months ago (2014-05-08 08:08:57 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nbarth@chromium.org/274503003/40001
6 years, 7 months ago (2014-05-08 08:09:37 UTC) #9
commit-bot: I haz the power
6 years, 7 months ago (2014-05-08 09:30:34 UTC) #10
Message was sent while issue was closed.
Change committed as 173625

Powered by Google App Engine
This is Rietveld 408576698