Closed Bug 52520 Opened 26 years ago Closed 25 years ago

xpidl non-typelib modes allow [retval] with non-void return type

Categories

(Core :: XPCOM, enhancement, P3)

x86
Linux
enhancement

Tracking

()

RESOLVED FIXED

People

(Reporter: mang, Assigned: mike+mozilla)

Details

For the following interface, xpidl -m {header,doc,java} should exit with an error: interface foo { short bogus([retval] out string thing); }; xpidl -m typelib exits with "Error: can't have [retval] with non-void return type" The other modes should ideally do the same.
Attachment to 13813 fixes this.
Fix checked in. I'm jumping the gun, but I wanted to batch it with other xpidl changes.
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Component: xpidl → XPCOM
QA Contact: mike+mozilla → xpcom
You need to log in before you can comment on or make changes to this bug.