-
Notifications
You must be signed in to change notification settings - Fork 10.5k
Spelling #42421
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Spelling #42421
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a checkpoint (~300 files). Most of the corrections were suggested by Google Sheets, and most of the time it was correct. There are a handful of things where a correction I applied was clearly wrong, and I'll fix them up once I get to the end of my review.
All fault is mine. I really am human.
CHANGELOG.md
Outdated
func hadWithdrawlOn(_ day: Date, from acct: BankAccount) async -> Bool { | ||
func hadWithdrawalOn(_ day: Date, from acct: BankAccount) async -> Bool { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some projects don't like making changes to the changelog after publishing. Let me know if that applies here. I can easily drop changes to any specific file(s)
CHANGELOG.md
Outdated
These functions change the control flow of a program in ways that that Swift | ||
These functions change the control flow of a program in ways that Swift |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've been experimenting with heuristics for doubled words.
CHANGELOG.md
Outdated
[SE-0110]: <https://github.com/apple/swift-evolution/blob/main/proposals/0110-distingish-single-tuple-arg.md> | ||
[SE-0110]: <https://github.com/apple/swift-evolution/blob/main/proposals/0110-distinguish-single-tuple-arg.md> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This would require changing the other repository
N: Argyrios Kyrzidis | ||
N: Argyrios Kyrtzidis | ||
E: [email protected] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The email address appears correct and this is the name.
lib/AST/ASTContext.cpp
Outdated
auto clas = t->getClassOrBoundGenericClass(); | ||
if (!clas) | ||
auto clazz = t->getClassOrBoundGenericClass(); | ||
if (!clazz) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Happy to drop, but clazz
(and klass
) are also used...
// locats before less favored ones. | ||
// locals before less favored ones. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
? unless it's short for locations?
lib/IDE/CompletionLookup.cpp
Outdated
/// This doesn't match the condition because the base name of the function in | ||
/// Swift is 'peform': | ||
/// Swift is 'perform': | ||
/// | ||
/// func perform(options opts: [AnyHashable:Any] = [:]) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
?
Hi @jsoref, thanks for your contribution here. A diff of this size covering this much code and with this many commits is extremely difficult for even a group of reviewers to make their way through. Please clean up the history by squashing these patches together into topic-level commits - perhaps organized by component - and consider splitting this into separate patches. EDIT: I see you’ve already realized this, and I appreciate the process being laid out here. Would you mind setting this PR in draft mode until you’re ready for review? I’d also caution against changes in tests and their inputs as well as changes to variable names in compiler code. |
The broad strokes of this look pretty good. I think the changes to user-facing documentation, compiler documentation, and the CHANGELOG need to generally be split from everything else. The code changes need to be chunked by component - but they should generally not be controversial. |
Thanks @CodaFi. Do you want three distinct PRs for:
vs. just one PR for the set? For large PRs, I tend to use one PR to hang the story (=this) and then smaller ones that reference back to it. My guess is that for components, roughly each directory in https://github.com/apple/swift/tree/main/lib is a component, and I'd make distinct ones for each. Is https://github.com/apple/swift/tree/main/stdlib a single component? breakdown of changes by second level directoriesfor a in */*/; do changes=$(git diff main..spelling --stat -- $a |tail -1); [ -n "$changes" ] && echo "$changes $a"; done|sort -nr
160 files changed, 394 insertions(+), 394 deletions(-) include/swift/
98 files changed, 230 insertions(+), 230 deletions(-) test/SILOptimizer/
85 files changed, 230 insertions(+), 230 deletions(-) lib/SILOptimizer/
51 files changed, 115 insertions(+), 115 deletions(-) stdlib/public/
46 files changed, 205 insertions(+), 205 deletions(-) lib/Sema/
33 files changed, 123 insertions(+), 123 deletions(-) test/refactoring/
32 files changed, 90 insertions(+), 90 deletions(-) test/IDE/
32 files changed, 75 insertions(+), 75 deletions(-) lib/AST/
30 files changed, 79 insertions(+), 79 deletions(-) lib/IRGen/
30 files changed, 67 insertions(+), 67 deletions(-) test/Interop/
27 files changed, 131 insertions(+), 131 deletions(-) lib/IDE/
25 files changed, 101 insertions(+), 101 deletions(-) test/SILGen/
23 files changed, 78 insertions(+), 78 deletions(-) test/SourceKit/
20 files changed, 62 insertions(+), 62 deletions(-) lib/SIL/
16 files changed, 29 insertions(+), 29 deletions(-) lib/SILGen/
16 files changed, 23 insertions(+), 23 deletions(-) test/stdlib/
14 files changed, 35 insertions(+), 35 deletions(-) tools/SourceKit/
13 files changed, 26 insertions(+), 26 deletions(-) test/decl/
12 files changed, 16 insertions(+), 16 deletions(-) utils/build_swift/
12 files changed, 16 insertions(+), 16 deletions(-) test/Constraints/
11 files changed, 16 insertions(+), 16 deletions(-) test/AutoDiff/
10 files changed, 19 insertions(+), 19 deletions(-) test/Parse/
10 files changed, 11 insertions(+), 11 deletions(-) stdlib/private/
9 files changed, 28 insertions(+), 28 deletions(-) lib/Parse/
9 files changed, 12 insertions(+), 12 deletions(-) benchmark/single-source/
8 files changed, 33 insertions(+), 33 deletions(-) validation-test/stdlib/
8 files changed, 23 insertions(+), 23 deletions(-) lib/Frontend/
8 files changed, 12 insertions(+), 12 deletions(-) SwiftCompilerSources/Sources/
8 files changed, 11 insertions(+), 11 deletions(-) utils/gyb_syntax_support/
8 files changed, 11 insertions(+), 11 deletions(-) test/Sema/
7 files changed, 8 insertions(+), 8 deletions(-) test/ClangImporter/
7 files changed, 32 insertions(+), 32 deletions(-) test/SIL/
7 files changed, 17 insertions(+), 17 deletions(-) lib/Serialization/
7 files changed, 10 insertions(+), 10 deletions(-) lib/ClangImporter/
6 files changed, 23 insertions(+), 23 deletions(-) benchmark/scripts/
6 files changed, 11 insertions(+), 11 deletions(-) test/Concurrency/
5 files changed, 6 insertions(+), 6 deletions(-) docs/proposals/
5 files changed, 19 insertions(+), 19 deletions(-) test/attr/
5 files changed, 19 insertions(+), 19 deletions(-) test/api-digester/
4 files changed, 7 insertions(+), 7 deletions(-) unittests/runtime/
4 files changed, 7 insertions(+), 7 deletions(-) test/Interpreter/
4 files changed, 5 insertions(+), 5 deletions(-) test/Frontend/
4 files changed, 5 insertions(+), 5 deletions(-) stdlib/include/
4 files changed, 4 insertions(+), 4 deletions(-) test/ModuleInterface/
4 files changed, 13 insertions(+), 13 deletions(-) lib/Driver/
3 files changed, 6 insertions(+), 6 deletions(-) lib/Migrator/
3 files changed, 6 insertions(+), 6 deletions(-) lib/FrontendTool/
3 files changed, 5 insertions(+), 5 deletions(-) utils/swift_build_support/
3 files changed, 5 insertions(+), 5 deletions(-) test/Serialization/
3 files changed, 5 insertions(+), 5 deletions(-) test/Distributed/
3 files changed, 5 insertions(+), 5 deletions(-) docs/CppInteroperability/
3 files changed, 4 insertions(+), 4 deletions(-) test/expr/
3 files changed, 4 insertions(+), 4 deletions(-) lib/SymbolGraphGen/
3 files changed, 3 insertions(+), 3 deletions(-) test/Syntax/
3 files changed, 3 insertions(+), 3 deletions(-) test/Index/
3 files changed, 20 insertions(+), 20 deletions(-) lib/DependencyScan/
3 files changed, 16 insertions(+), 16 deletions(-) lib/Basic/
2 files changed, 7 insertions(+), 7 deletions(-) lib/Index/
2 files changed, 5 insertions(+), 5 deletions(-) unittests/SourceKit/
2 files changed, 3 insertions(+), 3 deletions(-) utils/incrparse/
2 files changed, 3 insertions(+), 3 deletions(-) test/multifile/
2 files changed, 3 insertions(+), 3 deletions(-) test/SymbolGraph/
2 files changed, 3 insertions(+), 3 deletions(-) test/Inputs/
2 files changed, 3 insertions(+), 3 deletions(-) cmake/modules/
2 files changed, 2 insertions(+), 2 deletions(-) unittests/Driver/
2 files changed, 2 insertions(+), 2 deletions(-) tools/swift-inspect/
2 files changed, 2 insertions(+), 2 deletions(-) test/type/
2 files changed, 2 insertions(+), 2 deletions(-) test/ScanDependencies/
2 files changed, 2 insertions(+), 2 deletions(-) test/SPI/
2 files changed, 2 insertions(+), 2 deletions(-) test/Prototypes/
2 files changed, 2 insertions(+), 2 deletions(-) stdlib/toolchain/
2 files changed, 2 insertions(+), 2 deletions(-) docs/archive/
1 file changed, 8 insertions(+), 8 deletions(-) docs/RequirementMachine/
1 file changed, 6 insertions(+), 6 deletions(-) utils/parser-lib/
1 file changed, 4 insertions(+), 4 deletions(-) tools/swift-syntax-test/
1 file changed, 4 insertions(+), 4 deletions(-) tools/swift-ide-test/
1 file changed, 4 insertions(+), 4 deletions(-) test/Misc/
1 file changed, 4 insertions(+), 4 deletions(-) lib/APIDigester/
1 file changed, 3 insertions(+), 3 deletions(-) unittests/Sema/
1 file changed, 3 insertions(+), 3 deletions(-) test/diagnostics/
1 file changed, 3 insertions(+), 3 deletions(-) test/Profiler/
1 file changed, 2 insertions(+), 2 deletions(-) utils/api_checker/
1 file changed, 2 insertions(+), 2 deletions(-) unittests/FrontendTool/
1 file changed, 2 insertions(+), 2 deletions(-) unittests/ClangImporter/
1 file changed, 2 insertions(+), 2 deletions(-) tools/swift-serialize-diagnostics/
1 file changed, 2 insertions(+), 2 deletions(-) test/swift-indent/
1 file changed, 2 insertions(+), 2 deletions(-) test/Migrator/
1 file changed, 2 insertions(+), 2 deletions(-) stdlib/cmake/
1 file changed, 2 insertions(+), 2 deletions(-) lib/SyntaxParse/
1 file changed, 2 insertions(+), 2 deletions(-) lib/PrintAsClang/
1 file changed, 2 insertions(+), 2 deletions(-) docs/ReferenceGuides/
1 file changed, 2 insertions(+), 2 deletions(-) docs/ABI/
1 file changed, 2 insertions(+), 2 deletions(-) benchmark/utils/
1 file changed, 19 insertions(+), 19 deletions(-) test/PrintAsObjC/
1 file changed, 10 insertions(+), 10 deletions(-) lib/DriverTool/
1 file changed, 1 insertion(+), 1 deletion(-) validation-test/Runtime/
1 file changed, 1 insertion(+), 1 deletion(-) validation-test/Evolution/
1 file changed, 1 insertion(+), 1 deletion(-) validation-test/BuildSystem/
1 file changed, 1 insertion(+), 1 deletion(-) utils/update_checkout/
1 file changed, 1 insertion(+), 1 deletion(-) utils/bug_reducer/
1 file changed, 1 insertion(+), 1 deletion(-) unittests/DependencyScan/
1 file changed, 1 insertion(+), 1 deletion(-) unittests/Basic/
1 file changed, 1 insertion(+), 1 deletion(-) unittests/AST/
1 file changed, 1 insertion(+), 1 deletion(-) test/TBD/
1 file changed, 1 insertion(+), 1 deletion(-) test/Sanitizers/
1 file changed, 1 insertion(+), 1 deletion(-) test/Runtime/
1 file changed, 1 insertion(+), 1 deletion(-) test/NameLookup/
1 file changed, 1 insertion(+), 1 deletion(-) test/Driver/
1 file changed, 1 insertion(+), 1 deletion(-) test/CrossImport/
1 file changed, 1 insertion(+), 1 deletion(-) test/Compatibility/
1 file changed, 1 insertion(+), 1 deletion(-) lib/TBDGen/
1 file changed, 1 insertion(+), 1 deletion(-) lib/Syntax/
1 file changed, 1 insertion(+), 1 deletion(-) lib/Option/
1 file changed, 1 insertion(+), 1 deletion(-) lib/Localization/
1 file changed, 1 insertion(+), 1 deletion(-) lib/Demangling/
1 file changed, 1 insertion(+), 1 deletion(-) docs/refactoring/ Fwiw, it looks like I could split stdlib/*/*for a in stdlib/*/*/; do changes=$(git diff main..spelling --stat -- $a |tail -1); [ -n "$changes" ] && echo "$changes $a"; done|sort -nr
14 files changed, 42 insertions(+), 42 deletions(-) stdlib/public/runtime/
14 files changed, 20 insertions(+), 20 deletions(-) stdlib/public/core/
12 files changed, 40 insertions(+), 40 deletions(-) stdlib/public/Concurrency/
6 files changed, 7 insertions(+), 7 deletions(-) stdlib/private/OSLog/
4 files changed, 5 insertions(+), 5 deletions(-) stdlib/public/SwiftShims/
4 files changed, 5 insertions(+), 5 deletions(-) stdlib/include/llvm/
3 files changed, 3 insertions(+), 3 deletions(-) stdlib/private/StdlibUnicodeUnittest/
2 files changed, 3 insertions(+), 3 deletions(-) stdlib/public/Distributed/
1 file changed, 2 insertions(+), 2 deletions(-) stdlib/cmake/modules/
1 file changed, 1 insertion(+), 1 deletion(-) stdlib/toolchain/Compatibility51/
1 file changed, 1 insertion(+), 1 deletion(-) stdlib/toolchain/Compatibility50/
1 file changed, 1 insertion(+), 1 deletion(-) stdlib/public/SwiftRemoteMirror/
1 file changed, 1 insertion(+), 1 deletion(-) stdlib/public/SwiftOnoneSupport/
1 file changed, 1 insertion(+), 1 deletion(-) stdlib/public/Reflection/
1 file changed, 1 insertion(+), 1 deletion(-) stdlib/public/Platform/
1 file changed, 1 insertion(+), 1 deletion(-) stdlib/public/BackDeployConcurrency/
1 file changed, 1 insertion(+), 1 deletion(-) stdlib/private/StdlibCollectionUnittest/ Would you want to have all the PRs open at once, or to only approach a limited number of PRs at a time (1-5?). I tend not to put too many up at once as I don't want to overwhelm CI or reviewers. But I try to be flexible (and I'm not in any hurry, in fact I'm on 🌴 vacation). (Still working on the next round of checks, but I figured I'd respond first.) |
Yes. Each one of these has a different set of reviewers and intended audiences.
Bingo
I don't mind multiples of these being open as long as we're allowed a little more leeway with review times for the patches when many are in flight.
🏖️ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Checkpoint. I'll probably have two more rounds before I do an update to clear up the errors I've identified.
lib/Migrator/README.md
Outdated
for [SE-0110: Distinguish between single-tuple and multiple-argument function types](https://github.com/apple/swift-evolution/blob/master/proposals/0110-distingish-single-tuple-arg.md). | ||
for [SE-0110: Distinguish between single-tuple and multiple-argument function types](https://github.com/apple/swift-evolution/blob/master/proposals/0110-distinguish-single-tuple-arg.md). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Another external reference. It'd be helpful to know if such changes can be made or if I should drop them. As there don't seem to be many of them, I think I'll flag them all -- so I can address them either way.
It might make sense for me to split these changes out into a single PR so that there's a PR to rename on that side and a PR to update the references on this side that could be merged as soon as that PR is merged.
lib/SILGen/SILGenPattern.cpp
Outdated
// Why do we need to do this here (I just cargo culted this). | ||
// Why do we need to do this here (I just cargo-culted this). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This matches another instance elsewhere.
lib/SILGen/SILGenType.cpp
Outdated
auto *reqrRerivativeId = requirementRef.getDerivativeFunctionIdentifier(); | ||
auto *reqrDerivativeId = requirementRef.getDerivativeFunctionIdentifier(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reasonably confident, but not entirely. It's possible that the R
is for Ref
...
@@ -1184,10 +1184,10 @@ extension Unicode.Scalar.Properties { | |||
} | |||
|
|||
// Used to potentially return a name who can either be represented in a large |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think who
probably should be that
, but it's outside of scope.
// This is a type that convers entire parameter list. | ||
// This is a type that covers entire parameter list. | ||
auto parameterList = parameterContainer->getFirstChild(); | ||
assert(parameterList->getKind() == Node::Kind::Type); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I actually spent a bit of time trying to think through this one (vs converts
). I think I'm right, but I'm not at all confident.
//===--- CompatibiltyOverride.h - Back-deploying compatibility fixes --*- C++ -*-===// | ||
//===--- CompatibilityOverride.h - Back-deploying compatibility fixes --*- C++ -*-===// |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wondering which side I'm comping the character -- still assuming it's the --*-
side...
test/AutoDiff/IRGen/runtime.swift
Outdated
// CHECK-LABEL: define{{.*}}@test_context_builtins() | ||
// CHECK: entry: | ||
// CHECK: [[CTX:%.*]] = call swiftcc %swift.refcounted* @swift_autoDiffCreateLinearMapContext({{i[0-9]+}} {{.*}}) | ||
// CEHCK: call swiftcc i8* @swift_autoDiffProjectTopLevelSubcontext(%swift.refcounted* [[CTX]]) | ||
// CHECK: call swiftcc i8* @swift_autoDiffProjectTopLevelSubcontext(%swift.refcounted* [[CTX]]) | ||
// CHECK: [[BUF:%.*]] = call swiftcc i8* @swift_autoDiffAllocateSubcontext(%swift.refcounted* [[CTX]], {{i[0-9]+}} {{.*}}) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There were a bunch of things w/ slight variations of what I'd expect. It's possible they're intentional, but I've made the default assumption that they're accidental.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Checkpointing
// CHECK-NEXT: macros.h:{{[0-9]+}}:9: note: macro 'INVALID_ARITHMETIC_1' not imported: structure not supported | ||
// CHECK-NEXT: #define INVALID_ARITHMETIC_1 5 + INVALID_INTERGER_LITERAL_1 | ||
// CHECK-NEXT: #define INVALID_ARITHMETIC_1 5 + INVALID_INTEGER_LITERAL_1 | ||
// CHECK-NEXT: {{^}} ^ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These changes scare me.
test/ClangImporter/objc_direct.swift
Outdated
var otherthing = Foo() as AnyObject | ||
var otherThing = Foo() as AnyObject | ||
|
||
// We expect no error. | ||
let _ = otherthing.directProtocolMethod() | ||
let _ = otherThing.directProtocolMethod() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can drop this change if there's a preference, but Swift seems to use camelCase and TitleCase for things, so there didn't seem to be any harm.
test/Constraints/generics.swift
Outdated
// rdar://79757320 - failured to produce a diagnostic when unresolved dependent member is used in function result position | ||
// rdar://79757320 - failed to produce a diagnostic when unresolved dependent member is used in function result position |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this is right, but it's a notable change
test/Constraints/members.swift
Outdated
_ = pair["strting"] // expected-error {{cannot access element using subscript for tuple type '(Int, Int)'; use '.' notation instead}} {{none}} | ||
_ = pair["string"] // expected-error {{cannot access element using subscript for tuple type '(Int, Int)'; use '.' notation instead}} {{none}} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm pretty sure it's complaining about the fact that it's a string and not that the value is strting
.
final private actor Coordinactor { | ||
final private actor Coordinator { | ||
var someValue: Int? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it's possible that this was intentionally -actor
// -Onone reuses the existint lifetime-ending destroy. | ||
// -Onone reuses the existing lifetime-ending destroy. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Alternative is existent
// allow exactly one unoptimzedkey path instruction, in this function | ||
// allow exactly one unoptimized key path instruction, in this function |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This split a word, I believe this is right choice.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok, done reviewing. I'll try to fix up the things I've identified shortly.
test/attr/attr_native_dynamic.swift
Outdated
struct Strukt { | ||
// CHECK: (struct_decl {{.*}} "Strukt" | ||
struct Struct { | ||
// CHECK: (struct_decl {{.*}} "Struct" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Moderately worried
test/diagnostics/Localization/no_localization_files_and_wrong_path.swift
Outdated
Show resolved
Hide resolved
let s0 = "Hello, Woyld" | ||
let s0 = "Hello, World" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some projects use cute styles, overall, Swift doesn't seem to be very heavy in this category, but I'm happy to drop this.
utils/parser-lib/profile-input.swift
Outdated
if let queuedAlertInfo = tabManager.selectedTab?.dequeueJavascriptAlertPrompt() { | ||
if let queuedAlertInfo = tabManager.selectedTab?.dequeueJavaScriptAlertPrompt() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There's no matching item, so this is presumably wrong.
But the only reference to this anywhere appears to be here. So ??
hasOption = optionSet.find("-emit-modul") != optionSet.end(); | ||
hasOption = optionSet.find("-emit-module") != optionSet.end(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure what this is doing. (Presumably the change is wrong, but...)
return "\(hex: address) (\(module ?? "<uknown>")) \(symbol ?? "<unknown>")" | ||
return "\(hex: address) (\(module ?? "<unknown>")) \(symbol ?? "<unknown>")" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
??
function(add_sourcekitd_swifrt_linking target path HAS_SWIFT_MODULES) | ||
function(add_sourcekitd_swift_rt_linking target path HAS_SWIFT_MODULES) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Notable.
This PR corrects misspellings identified by the check-spelling action.
The misspellings have been reported at jsoref@5656126#commitcomment-71491159
The action reports that the changes in this PR would make it happy: jsoref@10e98f4
Note: this PR does not include the action. If you're interested in running a spell check on every PR and push, that can be offered separately.
I don't expect this to be merged as-is. For large changes (like this one), I tend to split based on some criteria, often that's by directory. I try to avoid squashing until the very end as it makes it very hard to rebase.
I will try to annotate this PR, but it'll take a while.