mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[AST Printing] Print custom attributes on parameters.
Fixes rdar://problem/50232955.
This commit is contained in:
@@ -2590,6 +2590,7 @@ void PrintAST::printOneParameter(const ParamDecl *param,
|
||||
|
||||
auto TheTypeLoc = param->getTypeLoc();
|
||||
|
||||
printAttributes(param);
|
||||
printArgName();
|
||||
|
||||
if (!TheTypeLoc.getTypeRepr() && param->hasInterfaceType())
|
||||
|
||||
Reference in New Issue
Block a user