We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4df55a1 + 8935517 commit 2ed8936Copy full SHA for 2ed8936
lib/ASTGen/Sources/ASTGen/Types.swift
@@ -356,7 +356,8 @@ extension ASTGenVisitor {
356
var type = generate(type: node.baseType)
357
358
// Handle specifiers.
359
- if let specifier = node.specifier {
+ if case .simpleTypeSpecifier(let simpleSpecifier) = node.specifiers.first {
360
+ let specifier = simpleSpecifier.specifier
361
if let kind = BridgedAttributedTypeSpecifier(from: specifier.keywordKind) {
362
type =
363
BridgedSpecifierTypeRepr.createParsed(
0 commit comments