For instance, this IDL: dictionary Foo { required VoidCallback bar; }; ...generates this code in the corresponding implementation of convertDictionary: if (!barValue.isUndefined()) { result.bar = convert<IDLCallbackFunction<JSVoidCallback>>(state, barValue, ); RETURN_IF_EXCEPTION(throwScope, { }); } else { throwRequiredMemberTypeError(state, throwScope, "bar", "FooInit", "VoidCallback"); return { }; } ...which (of course) fails to compile.
Created attachment 358816 [details] Patch
Comment on attachment 358816 [details] Patch Clearing flags on attachment: 358816 Committed r239842: <https://trac.webkit.org/changeset/239842>
All reviewed patches have been landed. Closing bug.
<rdar://problem/47189164>