From b4542b50d9218ea650c3d32a328dd0eb637ed0f6 Mon Sep 17 00:00:00 2001
From: arookas <arookas@outlook.com>
Date: Sat, 12 Dec 2015 12:41:40 -0500
Subject: [PATCH] Fixed: woops, forgot to push this in f506572.

---
 symbol table.cs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/symbol table.cs b/symbol table.cs
index 99158ac..26fd069 100644
--- a/symbol table.cs	
+++ b/symbol table.cs	
@@ -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);