浏览代码

Duplicates should be equal. Fixes #372.

woollybah 6 年之前
父节点
当前提交
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