| ... | @@ -1799,7 +1799,7 @@ fn renderFnProto(r: *Render, fn_proto: Ast.full.FnProto, space: Space) Error!voi | ... | @@ -1799,7 +1799,7 @@ fn renderFnProto(r: *Render, fn_proto: Ast.full.FnProto, space: Space) Error!voi |
| 1799 | break; | 1799 | break; |
| 1800 | }, | 1800 | }, |
| 1801 | .keyword_noalias, .keyword_comptime => { | 1801 | .keyword_noalias, .keyword_comptime => { |
| 1802 | try renderToken(r, last_param_token, .space); | 1802 | try renderToken(r, last_param_token, .maybe_space); |
| 1803 | last_param_token += 1; | 1803 | last_param_token += 1; |
| 1804 | }, | 1804 | }, |
| 1805 | .identifier => {}, | 1805 | .identifier => {}, |
| ... | @@ -1850,7 +1850,7 @@ fn renderFnProto(r: *Render, fn_proto: Ast.full.FnProto, space: Space) Error!voi | ... | @@ -1850,7 +1850,7 @@ fn renderFnProto(r: *Render, fn_proto: Ast.full.FnProto, space: Space) Error!voi |
| 1850 | break; | 1850 | break; |
| 1851 | }, | 1851 | }, |
| 1852 | .keyword_noalias, .keyword_comptime => { | 1852 | .keyword_noalias, .keyword_comptime => { |
| 1853 | try renderToken(r, last_param_token, .space); | 1853 | try renderToken(r, last_param_token, .maybe_space); |
| 1854 | last_param_token += 1; | 1854 | last_param_token += 1; |
| 1855 | }, | 1855 | }, |
| 1856 | .identifier => {}, | 1856 | .identifier => {}, |
| ... | @@ -1868,7 +1868,7 @@ fn renderFnProto(r: *Render, fn_proto: Ast.full.FnProto, space: Space) Error!voi | ... | @@ -1868,7 +1868,7 @@ fn renderFnProto(r: *Render, fn_proto: Ast.full.FnProto, space: Space) Error!voi |
| 1868 | { | 1868 | { |
| 1869 | try renderIdentifier(r, last_param_token, .none, .preserve_when_shadowing); // name | 1869 | try renderIdentifier(r, last_param_token, .none, .preserve_when_shadowing); // name |
| 1870 | last_param_token += 1; | 1870 | last_param_token += 1; |
| 1871 | try renderToken(r, last_param_token, .space); // : | 1871 | try renderToken(r, last_param_token, .maybe_space); // : |
| 1872 | last_param_token += 1; | 1872 | last_param_token += 1; |
| 1873 | } | 1873 | } |
| 1874 | if (tree.tokenTag(last_param_token) == .keyword_anytype) { | 1874 | if (tree.tokenTag(last_param_token) == .keyword_anytype) { |