mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
Fix #806, and also makes sure that things like FOO.x.a is a compile time value.
This commit is contained in:
@@ -82,8 +82,8 @@ fn void LinkedList.link_last(LinkedList* list, Type value) @private
|
||||
list.size++;
|
||||
}
|
||||
|
||||
fn Type! peek(LinkedList* list) => list.first() @inline;
|
||||
fn Type! peek_last(LinkedList* list) => list.last() @inline;
|
||||
fn Type! LinkedList.peek(LinkedList* list) => list.first() @inline;
|
||||
fn Type! LinkedList.peek_last(LinkedList* list) => list.last() @inline;
|
||||
|
||||
fn Type! LinkedList.first(LinkedList *list)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user