Skip to content

Commit 24b44e3

Browse files
committed
Revert "ASTGen: add a workaround for CSC conformance visibility"
This reverts commit 5d0c5a6.
1 parent abd4164 commit 24b44e3

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

lib/ASTGen/Sources/ASTGen/Macros.swift

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -127,11 +127,7 @@ enum ASTGenMacroDiagnostic: DiagnosticMessage, FixItMessage {
127127
var message: String {
128128
switch self {
129129
case .thrownError(let error):
130-
if let err = error as? PluginError {
131-
return err.description
132-
} else {
133-
return String(describing: error)
134-
}
130+
return String(describing: error)
135131

136132
case .oldStyleExternalMacro:
137133
return "external macro definitions are now written using #externalMacro"

0 commit comments

Comments
 (0)