Pārlūkot izejas kodu

Fixed incorrect calculation of debugscope array size.

woollybah 11 gadi atpakaļ
vecāks
revīzija
ae8720c3bf
1 mainītis faili ar 3 papildinājumiem un 3 dzēšanām
  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