diff --git a/lib/std/list.c3 b/lib/std/list.c3 index 4e169bb94..6fdd2a7ed 100644 --- a/lib/std/list.c3 +++ b/lib/std/list.c3 @@ -162,7 +162,7 @@ macro Type List.@item_at(List &list, usz index) @operator([]) return list.entries[index]; } -macro Type* List.@item_ref(List &list, usz index) @operator(&[]) +fn Type* List.get_ref(List* list, usz index) @operator(&[]) @inline { return &list.entries[index]; }