Browse Source

Stop when we find a match. Fixes #393.

woollybah 6 years ago
parent
commit
be74f0b2eb
1 changed files with 2 additions and 0 deletions
  1. 2 0
      decl.bmx

+ 2 - 0
decl.bmx

@@ -2259,6 +2259,8 @@ Type TFuncDecl Extends TBlockDecl
 					errorDetails = errorDetails.Trim()
 				EndIf
 			End If
+			
+			If found Exit
 		Next
 		Return found
 	End Method