| ... | ... | @@ -235,8 +235,8 @@ pub const TypeInfo = union(enum) { |
| 235 | 235 | /// therefore must be kept in sync with the compiler implementation. |
| 236 | 236 | pub const Struct = struct { |
| 237 | 237 | layout: ContainerLayout, |
| 238 | | fields: []StructField, |
| 239 | | decls: []Declaration, |
| 238 | fields: []const StructField, |
| 239 | decls: []const Declaration, |
| 240 | 240 | }; |
| 241 | 241 | |
| 242 | 242 | /// This data structure is used by the Zig language code generation and |
| ... | ... | @@ -261,7 +261,7 @@ pub const TypeInfo = union(enum) { |
| 261 | 261 | |
| 262 | 262 | /// This data structure is used by the Zig language code generation and |
| 263 | 263 | /// therefore must be kept in sync with the compiler implementation. |
| 264 | | pub const ErrorSet = ?[]Error; |
| 264 | pub const ErrorSet = ?[]const Error; |
| 265 | 265 | |
| 266 | 266 | /// This data structure is used by the Zig language code generation and |
| 267 | 267 | /// therefore must be kept in sync with the compiler implementation. |
| ... | ... | @@ -275,8 +275,8 @@ pub const TypeInfo = union(enum) { |
| 275 | 275 | pub const Enum = struct { |
| 276 | 276 | layout: ContainerLayout, |
| 277 | 277 | tag_type: type, |
| 278 | | fields: []EnumField, |
| 279 | | decls: []Declaration, |
| 278 | fields: []const EnumField, |
| 279 | decls: []const Declaration, |
| 280 | 280 | is_exhaustive: bool, |
| 281 | 281 | }; |
| 282 | 282 | |
| ... | ... | @@ -293,8 +293,8 @@ pub const TypeInfo = union(enum) { |
| 293 | 293 | pub const Union = struct { |
| 294 | 294 | layout: ContainerLayout, |
| 295 | 295 | tag_type: ?type, |
| 296 | | fields: []UnionField, |
| 297 | | decls: []Declaration, |
| 296 | fields: []const UnionField, |
| 297 | decls: []const Declaration, |
| 298 | 298 | }; |
| 299 | 299 | |
| 300 | 300 | /// This data structure is used by the Zig language code generation and |
| ... | ... | @@ -312,7 +312,7 @@ pub const TypeInfo = union(enum) { |
| 312 | 312 | is_generic: bool, |
| 313 | 313 | is_var_args: bool, |
| 314 | 314 | return_type: ?type, |
| 315 | | args: []FnArg, |
| 315 | args: []const FnArg, |
| 316 | 316 | }; |
| 317 | 317 | |
| 318 | 318 | /// This data structure is used by the Zig language code generation and |
| ... | ... | @@ -358,7 +358,7 @@ pub const TypeInfo = union(enum) { |
| 358 | 358 | is_export: bool, |
| 359 | 359 | lib_name: ?[]const u8, |
| 360 | 360 | return_type: type, |
| 361 | | arg_names: [][]const u8, |
| 361 | arg_names: []const []const u8, |
| 362 | 362 | |
| 363 | 363 | /// This data structure is used by the Zig language code generation and |
| 364 | 364 | /// therefore must be kept in sync with the compiler implementation. |