| | 69 | |
| | 70 | The cause (as originally captured in #222) of the issue is that the parser adds the extra parameter. To see it: |
| | 71 | |
| | 72 | {{{ |
| | 73 | forall (T & ) { |
| | 74 | forall ( | {void foo (T *); }) struct bar_t { T * fld; }; |
| | 75 | } |
| | 76 | }}} |
| | 77 | |
| | 78 | Actual prefix of compiling `-CFA -XCFA,-p,-Past`: |
| | 79 | {{{ |
| | 80 | struct bar_t with body |
| | 81 | ... with parameters |
| | 82 | T: data type |
| | 83 | data type |
| | 84 | ... |
| | 85 | }}} |
| | 86 | Note that bar_t has two parameters (the two lines following `... with parameters`), the first named T, the second anonymous. |
| | 87 | |
| | 88 | Expecting one parameter named T. |