2
0
Эх сурвалжийг харах

Duplicates should be equal. Fixes #372.

woollybah 6 жил өмнө
parent
commit
c2a7e6c7ec
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  1. 1 1
      decl.bmx

+ 1 - 1
decl.bmx

@@ -2057,7 +2057,7 @@ Type TFuncDecl Extends TBlockDecl
 		'check for duplicate decl
 		If ident Then
 			For Local decl:TFuncDecl=EachIn scope.SemantedFuncs( ident )
-				If decl<>Self And EqualsArgs( decl ) And Not decl.IsCTOR()
+				If decl<>Self And EqualsArgs( decl, True ) And Not decl.IsCTOR()
 					Err "Duplicate declaration "+ToString()
 				EndIf
 				If noMangle Then