Bug 214530

Summary: cpp_generator.py:134: SyntaxWarning: "is" with a literal. Did you mean "=="?
Product: WebKit Reporter: Michael Catanzaro <mcatanzaro>
Component: JavaScriptCoreAssignee: Michael Catanzaro <mcatanzaro>
Status: RESOLVED FIXED    
Severity: Normal CC: bburg, ews-watchlist, hi, joepeck, keith_miller, mark.lam, mcatanzaro, msaboff, pnormand, saam, tzagallo, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: PC   
OS: Linux   
Attachments:
Description Flags
Patch none

Description Michael Catanzaro 2020-07-19 05:05:10 PDT
Follow-up to bug #213971, we have one more syntax warning in cpp_generator.py

[663/5091] Generating ../../DerivedSources/JavaScriptCore...s/JavaScriptCore/inspector/InspectorBackendCommands.js.in
/home/mcatanzaro/Projects/WebKit/Source/JavaScriptCore/inspector/scripts/codegen/cpp_generator.py:134: SyntaxWarning: "is" with a literal. Did you mean "=="?
  if isinstance(_type, ObjectType) or _type.qualified_name() is 'object':
Comment 1 Michael Catanzaro 2020-07-19 05:05:59 PDT
Created attachment 404663 [details]
Patch
Comment 2 EWS Watchlist 2020-07-19 05:06:40 PDT
This patch modifies the inspector protocol generator. Please ensure that you have rebaselined any generator test results (i.e., by running `Tools/Scripts/run-inspector-generator-tests --reset-results`)
Comment 3 EWS 2020-07-19 06:59:41 PDT
Committed r264576: <https://trac.webkit.org/changeset/264576>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 404663 [details].
Comment 4 Radar WebKit Bug Importer 2020-07-19 07:00:17 PDT
<rdar://problem/65787645>