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