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.
1 parent 6d5a6f3 commit 8be56d3Copy full SHA for 8be56d3
1 file changed
Plugins/BridgeJS/Sources/BridgeJSMacros/JSClassMacro.swift
@@ -13,14 +13,6 @@ extension JSClassMacro: MemberMacro {
13
in context: some MacroExpansionContext
14
) throws -> [DeclSyntax] {
15
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
- ]
24
var fixIts: [FixIt] = []
25
26
if let classDecl = declaration.as(ClassDeclSyntax.self) {
@@ -41,7 +33,6 @@ extension JSClassMacro: MemberMacro {
41
33
Diagnostic(
42
34
node: Syntax(declaration),
43
35
message: JSMacroMessage.unsupportedJSClassDeclaration,
44
- notes: notes,
45
36
fixIts: fixIts
46
37
)
47
38
0 commit comments