| 40 columns | | |
| >>> | |
| foo({int a, int c: 1, d: 2, e=3}) {} | |
| <<< | |
| foo({int a, int c = 1, d = 2, e = 3}) {} | |
| >>> preserves block comments before | |
| foo({a/* b */ /* c */:1}) {} | |
| <<< | |
| foo({a /* b */ /* c */ = 1}) {} | |
| >>> preserves block comments after | |
| foo({a : /* b */ /* c */1}) {} | |
| <<< | |
| foo({a = /* b */ /* c */ 1}) {} | |
| >>> preserves line comments before | |
| foo({a// b | |
| // c | |
| :1}) {} | |
| <<< | |
| foo( | |
| {a // b | |
| // c | |
| = 1}) {} | |
| >>> preserves line comments after | |
| foo({a : // b | |
| // c | |
| 1}) {} | |
| <<< | |
| foo( | |
| {a = // b | |
| // c | |
| 1}) {} |