소스 검색

Fixed incorrect calculation of debugscope array size.

woollybah 11 년 전
부모
커밋
ae8720c3bf
1개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  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