Skip to content

Commit fc2547c

Browse files
committed
Delete dependsOn in swift-syntax
1 parent b5a85ed commit fc2547c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/ASTGen/Sources/ASTGen/Types.swift

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -356,8 +356,7 @@ extension ASTGenVisitor {
356356
var type = generate(type: node.baseType)
357357

358358
// Handle specifiers.
359-
if case .simpleTypeSpecifier(let simpleSpecifier) = node.specifiers.first {
360-
let specifier = simpleSpecifier.specifier
359+
if let specifier = node.specifier {
361360
if let kind = BridgedAttributedTypeSpecifier(from: specifier.keywordKind) {
362361
type =
363362
BridgedSpecifierTypeRepr.createParsed(

0 commit comments

Comments
 (0)