Skip to content

Commit 7b596d3

Browse files
committed
Make Function.Call() and Function.Return() static
1 parent ed59dc1 commit 7b596d3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Function.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ public Function(string name, List<string> body)
1010
Body = body;
1111
Displays.NewFunction(name);
1212
}
13-
public string Return(int i)
13+
public static string Return(int i)
1414
{
1515
return "return " + i;
1616
}
17-
public string Call(string function)
17+
public static string Call(string function)
1818
{
1919
return "function " + function;
2020
}

0 commit comments

Comments
 (0)