Skip to content

Commit

Permalink
FunctionCall
Browse files Browse the repository at this point in the history
- use a weight of `2` to fix re-ordering of ourselves when occuring as a `Statement` in the body of some `Container` which applies re-ordering
  • Loading branch information
deavmi committed May 11, 2024
1 parent e9d2cc6 commit 79853c7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions source/tlang/compiler/symbols/data.d
Original file line number Diff line number Diff line change
Expand Up @@ -1144,6 +1144,9 @@ public final class FunctionCall : Call, MStatementSearchable, MStatementReplacea
{
super(functionName);
this.arguments = arguments;

/* Weighted as 2 */
weight = 2;
}

public override string toString()
Expand Down

0 comments on commit 79853c7

Please sign in to comment.