Commit d89466a7 authored by Rico Tzschichholz's avatar Rico Tzschichholz

Use GLib.List.deep_copy() to fix type-argument mismatch

parent a0bd4ac5
Pipeline #39351 passed with stages
in 4 minutes and 26 seconds
......@@ -76,7 +76,7 @@ public class ParseNode : Object
public ParseNode.WithList (Parser parser, List<LexerToken> token_list, uint precedence, Associativity associativity, string? value = null)
{
this.parser = parser;
this.token_list = token_list.copy();
this.token_list = token_list.copy_deep((CopyFunc) Object.ref);
this.precedence = precedence;
this.associativity = associativity;
this.value = value;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment