فهرست منبع

When searching for ident, don't match ourself.

woollybah 7 سال پیش
والد
کامیت
83a2f8b4ca
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      decl.bmx

+ 1 - 1
decl.bmx

@@ -3318,7 +3318,7 @@ Type TModuleDecl Extends TScopeDecl
 		
 			For Local mdecl:TModuleDecl = EachIn _getDeclTreeCache
 
-				If ident = mdecl.ident
+				If ident = mdecl.ident And mdecl <> Self
 					_getDeclCache.Insert(ident, mdecl)
 					Return mdecl
 				End If