Explorar o código

Fixed incorrect calculation of debugscope array size.

woollybah %!s(int64=11) %!d(string=hai) anos
pai
achega
ae8720c3bf
Modificáronse 1 ficheiros con 3 adicións e 3 borrados
  1. 3 3
      ctranslator.bmx

+ 3 - 3
ctranslator.bmx

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