Commit ea5a41e
committed
[ASTPrint] Only print CustomAttr arglist if PrintExprs enabled
The argument list is going to be mostly empty if PrintExprs is not
enabled. Always trying to print the arguments also broke quite a few
tests, because it would result in a mismatch between the swift interface
before and after serialization, since CustomAttr arguments are not
serialized.1 parent 149828f commit ea5a41e
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4851 | 4851 | | |
4852 | 4852 | | |
4853 | 4853 | | |
4854 | | - | |
4855 | | - | |
| 4854 | + | |
| 4855 | + | |
4856 | 4856 | | |
4857 | 4857 | | |
4858 | 4858 | | |
| |||
0 commit comments