Bug 241285 - Drop operator==() overload for comparing a String to a const char*
Summary: Drop operator==() overload for comparing a String to a const char*
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Template Framework (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Chris Dumez
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-06-03 14:25 PDT by Chris Dumez
Modified: 2022-06-05 00:01 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Dumez 2022-06-03 14:25:24 PDT
Drop operator==() overload for comparing a String to a const char*. This encourages people to use ""_s for string literals.
Comment 1 Chris Dumez 2022-06-03 15:18:49 PDT
Pull request: https://github.com/WebKit/WebKit/pull/1292
Comment 2 EWS 2022-06-05 00:00:40 PDT
Committed r295270 (251316@main): <https://commits.webkit.org/251316@main>

Reviewed commits have been landed. Closing PR #1292 and removing active labels.
Comment 3 Radar WebKit Bug Importer 2022-06-05 00:01:15 PDT
<rdar://problem/94399716>