@@ -108,15 +108,15 @@ param_buf: std.ArrayList(Type.Func.Param),
108108enum_buf : std .ArrayList (Type .Enum .Field ),
109109record_buf : std .ArrayList (Type .Record .Field ),
110110attr_buf : std .MultiArrayList (TentativeAttribute ) = .{},
111- attr_application_buf : std .ArrayListUnmanaged (Attribute ) = .{} ,
111+ attr_application_buf : std .ArrayListUnmanaged (Attribute ) = .empty ,
112112field_attr_buf : std .ArrayList ([]const Attribute ),
113113/// type name -> variable name location for tentative definitions (top-level defs with thus-far-incomplete types)
114114/// e.g. `struct Foo bar;` where `struct Foo` is not defined yet.
115115/// The key is the StringId of `Foo` and the value is the TokenIndex of `bar`
116116/// Items are removed if the type is subsequently completed with a definition.
117117/// We only store the first tentative definition that uses a given type because this map is only used
118118/// for issuing an error message, and correcting the first error for a type will fix all of them for that type.
119- tentative_defs : std .AutoHashMapUnmanaged (StringId , TokenIndex ) = .{} ,
119+ tentative_defs : std .AutoHashMapUnmanaged (StringId , TokenIndex ) = .empty ,
120120
121121// configuration and miscellaneous info
122122no_eval : bool = false ,
@@ -169,7 +169,7 @@ record: struct {
169169 }
170170 }
171171} = .{},
172- record_members : std .ArrayListUnmanaged (struct { tok : TokenIndex , name : StringId }) = .{} ,
172+ record_members : std .ArrayListUnmanaged (struct { tok : TokenIndex , name : StringId }) = .empty ,
173173@"switch" : ? * Switch = null ,
174174in_loop : bool = false ,
175175pragma_pack : ? u8 = null ,
0 commit comments