Skip to content

Commit 7e67338

Browse files
redsun82jketema
andauthored
Update swift/extractor/infra/SwiftDispatcher.h
Co-authored-by: Jeroen Ketema <93738568+jketema@users.noreply.github.com>
1 parent 3527897 commit 7e67338

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

swift/extractor/infra/SwiftDispatcher.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ class SwiftDispatcher {
265265
bool fetchLabelFromUnionCase(const llvm::PointerUnion<Ts...> u, TrapLabel<Tag>& output) {
266266
// we rely on the fact that when we extract `ASTNode` instances (which only happens
267267
// on `BraceStmt` elements), we cannot encounter a standalone `TypeRepr` there, so we skip
268-
// this case, which would be problematic as we would not be able to provide the corresponding
268+
// this case; extracting `TypeRepr`s here would be problematic as we would not be able to provide the corresponding
269269
// type
270270
if constexpr (!std::is_same_v<T, swift::TypeRepr*>) {
271271
if (auto e = u.template dyn_cast<T>()) {

0 commit comments

Comments
 (0)