| ... | @@ -2040,6 +2040,9 @@ const ScanDeclIter = struct { | ... | @@ -2040,6 +2040,9 @@ const ScanDeclIter = struct { |
| 2040 | const want_analysis = switch (kind) { | 2040 | const want_analysis = switch (kind) { |
| 2041 | .@"comptime" => unreachable, | 2041 | .@"comptime" => unreachable, |
| 2042 | .@"usingnamespace" => a: { | 2042 | .@"usingnamespace" => a: { |
| | 2043 | if (comp.incremental) { |
| | 2044 | @panic("'usingnamespace' is not supported by incremental compilation"); |
| | 2045 | } |
| 2043 | if (declaration.flags.is_pub) { | 2046 | if (declaration.flags.is_pub) { |
| 2044 | try namespace.pub_usingnamespace.append(gpa, nav); | 2047 | try namespace.pub_usingnamespace.append(gpa, nav); |
| 2045 | } else { | 2048 | } else { |