| author | |
| committer | |
| log | 8081e3cbc7f8b6af71dcbb88a12f6431b8be67be |
| tree | ff6e790a4286100fc3939cd474db7c70acd4128d |
| parent | c6b3d06535f4227541c13fe75da347a485abdb4f |
1 files changed, 1 insertions(+), 1 deletions(-)
src/AstGen.zig+1-1| ... | @@ -3147,7 +3147,7 @@ fn fnDecl( | ... | @@ -3147,7 +3147,7 @@ fn fnDecl( |
| 3147 | break :param indexToRef(param_inst); | 3147 | break :param indexToRef(param_inst); |
| 3148 | }; | 3148 | }; |
| 3149 | 3149 | ||
| 3150 | if (param_name == 0) continue; | 3150 | if (param_name == 0 or is_extern) continue; |
| 3151 | 3151 | ||
| 3152 | const sub_scope = try astgen.arena.create(Scope.LocalVal); | 3152 | const sub_scope = try astgen.arena.create(Scope.LocalVal); |
| 3153 | sub_scope.* = .{ | 3153 | sub_scope.* = .{ |