<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - [GTK] Inspector crashes when using the console"
href="https://bugs.webkit.org/show_bug.cgi?id=155745#c6">Comment # 6</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - [GTK] Inspector crashes when using the console"
href="https://bugs.webkit.org/show_bug.cgi?id=155745">bug 155745</a>
from <span class="vcard"><a class="email" href="mailto:alex@igalia.com" title="Alejandro G. Castro <alex@igalia.com>"> <span class="fn">Alejandro G. Castro</span></a>
</span></b>
<pre>Comment on <span class=""><a href="attachment.cgi?id=275093&action=diff" name="attach_275093" title="Patch">attachment 275093</a> <a href="attachment.cgi?id=275093&action=edit" title="Patch">[details]</a></span>
Patch
View in context: <a href="https://bugs.webkit.org/attachment.cgi?id=275093&action=review">https://bugs.webkit.org/attachment.cgi?id=275093&action=review</a>
Just tested it, it works for me, thanks. Apparently the linker was not sorting out the situation with 2 definitions of a symbol very well, maybe in case of Apple their linker was smarter or just luckier.
<span class="quote">> Source/JavaScriptCore/ChangeLog:15
> + always end up using the one in WebKit2. Since the</span >
Did you mean JavaScriptCore here?
<span class="quote">>> Source/JavaScriptCore/inspector/scripts/codegen/generate_cpp_protocol_types_header.py:298
>> + lines.append(' m_result->%(keyedSet)s(ASCIILiteral("%(name)s"), Inspector::Protocol::%(enumsNamespace)s::getEnumConstantValue(value));' % setter_args)
>
> I am surprised that removing the cast doesn't cause a compiler error.</span >
The function with T type used that does the cast to int is defined up in the file.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>