Fixed: woops, forgot to push this in f506572.

This commit is contained in:
arookas 2015-12-12 12:41:40 -05:00
parent f506572894
commit b4542b50d9

View file

@ -129,7 +129,7 @@ namespace arookas
public override void Compile(sunContext context)
{
Offset = context.Text.Offset;
context.Scopes.Push();
context.Scopes.Push(sunScopeType.Function);
foreach (var parameter in Parameters)
{
context.DeclareParameter(parameter);