<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&#64;igalia.com" title="Alejandro G. Castro &lt;alex&#64;igalia.com&gt;"> <span class="fn">Alejandro G. Castro</span></a>
</span></b>
        <pre>Comment on <span class=""><a href="attachment.cgi?id=275093&amp;action=diff" name="attach_275093" title="Patch">attachment 275093</a> <a href="attachment.cgi?id=275093&amp;action=edit" title="Patch">[details]</a></span>
Patch

View in context: <a href="https://bugs.webkit.org/attachment.cgi?id=275093&amp;action=review">https://bugs.webkit.org/attachment.cgi?id=275093&amp;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">&gt; Source/JavaScriptCore/ChangeLog:15
&gt; +        always end up using the one in WebKit2. Since the</span >

Did you mean JavaScriptCore here?

<span class="quote">&gt;&gt; Source/JavaScriptCore/inspector/scripts/codegen/generate_cpp_protocol_types_header.py:298
&gt;&gt; +            lines.append('            m_result-&gt;%(keyedSet)s(ASCIILiteral(&quot;%(name)s&quot;), Inspector::Protocol::%(enumsNamespace)s::getEnumConstantValue(value));' % setter_args)
&gt; 
&gt; 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>