File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed 
TSPL.docc/ReferenceManual Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -97,8 +97,12 @@ indicates the macro's role:
9797  on an extension, a type alias, or a type that's nested inside a function,
9898  or use an extension macro to add an extension that has a peer macro.
9999
100- The peer, member,  and accessor  macro roles require a ` names: `  argument,
100+ The peer  and member  macro roles require a ` names: `  argument,
101101listing the names of the symbols that the macro generates.
102+ The accessor macro role requires a ` names: `  argument if the
103+ macro generates a ` willSet `  or ` didSet `  property observer. An
104+ accessor macro that generates property observers can't add
105+ other accessors, because observers only apply to stored properties.
102106The extension macro role also requires a ` names: `  argument
103107if the macro adds declarations inside the extension.
104108When a macro declaration includes the ` names: `  argument,
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments