Closed Bug 1583819 Opened 6 years ago Closed 6 years ago

Webidl parser should report error if there are multiple definitions with same identifier from the different mixin interfaces

Categories

(Core :: DOM: Bindings (WebIDL), defect, P1)

defect

Tracking

()

RESOLVED FIXED
mozilla71
Tracking Status
firefox71 --- fixed

People

(Reporter: edgar, Assigned: edgar)

Details

Attachments

(1 file)

For example,

interface A {
    void method();
};

interface mixin MixIn1 {
    void method();
};

interface mixin MixIn2 {
    void method();
};

A includes MixIn1;
A includes MixIn2;

I guess we will get build error on generated code.

Priority: -- → P1
Pushed by echen@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/2083ea3c6230 Webidl parser should report error if there are multiple definitions with same identifier from the mixin interfaces; r=bzbarsky
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla71
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: