Skip to content

Commit 8be56d3

Browse files
Remove meaningless note
1 parent 6d5a6f3 commit 8be56d3

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

Plugins/BridgeJS/Sources/BridgeJSMacros/JSClassMacro.swift

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,6 @@ extension JSClassMacro: MemberMacro {
1313
in context: some MacroExpansionContext
1414
) throws -> [DeclSyntax] {
1515
guard declaration.is(StructDeclSyntax.self) else {
16-
let notes: [Note] = [
17-
Note(
18-
node: Syntax(declaration),
19-
message: JSMacroNoteMessage(
20-
message: "Use @JSClass on a struct wrapper to synthesize jsObject and JS bridging members."
21-
)
22-
)
23-
]
2416
var fixIts: [FixIt] = []
2517

2618
if let classDecl = declaration.as(ClassDeclSyntax.self) {
@@ -41,7 +33,6 @@ extension JSClassMacro: MemberMacro {
4133
Diagnostic(
4234
node: Syntax(declaration),
4335
message: JSMacroMessage.unsupportedJSClassDeclaration,
44-
notes: notes,
4536
fixIts: fixIts
4637
)
4738
)

0 commit comments

Comments
 (0)