replace ArrayList with MultiArrayList in DocumentScope (#938)
This commit is contained in:
@@ -514,10 +514,10 @@ pub fn symbolReferences(
|
||||
.param_payload => |pay| blk: {
|
||||
// Rename the param tok.
|
||||
const param = pay.param;
|
||||
for (curr_handle.document_scope.scopes.items) |scope| {
|
||||
if (scope.data != .function) continue;
|
||||
for (curr_handle.document_scope.scopes.items(.data)) |scope_data| {
|
||||
if (scope_data != .function) continue;
|
||||
|
||||
const proto = scope.data.function;
|
||||
const proto = scope_data.function;
|
||||
|
||||
var buf: [1]Ast.Node.Index = undefined;
|
||||
const fn_proto = ast.fnProto(curr_handle.tree, proto, &buf).?;
|
||||
|
||||
Reference in New Issue
Block a user