Browse Source

Fixed incorrect calculation of debugscope array size.

woollybah 11 năm trước cách đây
mục cha
commit
ae8720c3bf
1 tập tin đã thay đổi với 3 bổ sung3 xóa
  1. 3 3
      ctranslator.bmx

+ 3 - 3
ctranslator.bmx

@@ -2628,15 +2628,15 @@ End Rem
 		CountClassFieldsDebugScope(classDecl, count)
 		
 		' standard methods
-		If classHasFunction(classDecl, "ToString") Then
+		If classHierarchyHasFunction(classDecl, "ToString") Then
 			count :+ 1
 		End If
 
-		If classHasFunction(classDecl, "Compare") Then
+		If classHierarchyHasFunction(classDecl, "Compare") Then
 			count :+ 1
 		End If
 
-		If classHasFunction(classDecl, "SendMessage") Then
+		If classHierarchyHasFunction(classDecl, "SendMessage") Then
 			count :+ 1
 		End If