Jelajahi Sumber

Fixed output of function names in errors.

woollybah 7 tahun lalu
induk
melakukan
aa3c0a0ae3
1 mengubah file dengan 2 tambahan dan 0 penghapusan
  1. 2 0
      decl.bmx

+ 2 - 0
decl.bmx

@@ -1742,6 +1742,8 @@ Type TBlockDecl Extends TScopeDecl
 
 	Method ToString:String()
 		Select blockType
+			Case BLOCK_FUNCTION
+				Return Super.ToString()
 			Case BLOCK_OTHER
 				Return "TBlockDecl:Other"
 			Case BLOCK_LOOP