Skip to content

Commit

Permalink
remove unnecessary assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
dfed committed Jan 10, 2024
1 parent e8acaf4 commit 972e650
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion Sources/SafeDICore/Models/TypeDescription.swift
Original file line number Diff line number Diff line change
Expand Up @@ -476,7 +476,6 @@ extension TypeSyntax {
returnType: typeIdentifier.returnClause.type.typeDescription)

} else {
assertionFailure("TypeSyntax of unknown type. Defaulting to `description`.")
// The description is a source-accurate description of this node, so it is a reasonable fallback.
return .unknown(text: trimmedDescription)
}
Expand Down

0 comments on commit 972e650

Please sign in to comment.