Open Bug 863960 Opened 12 years ago Updated 2 years ago

pyidl does not prevent name collisions between an attribute and a method

Categories

(Core :: XPCOM, defect)

x86
macOS
defect

Tracking

()

People

(Reporter: bzbarsky, Unassigned)

Details

This does not error out with pyidl: interface nsIFoo : nsISupports { attribute long foo; void setFoo(long a, long b); }; even though in the C++ it will create two virtual SetFoo methods, which is badtimes due to http://support.microsoft.com/kb/131104
I remember someone (khuey?) filing a bug about this a while ago...
I don't think there was ever a bug for that. It was something that came up when we discussed overloading methods in XPIDL.
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.