Skip to content
Snippets Groups Projects

Adding check for duplicate non-case-sensitive part names that could cause...

2 unresolved threads
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
@@ -752,7 +752,7 @@ for($kk=0;$kk<$partCnt;$kk++)
and not exists $noCode{$partType[$kk]}
and not exists $noCode{ $seen{ lc $xpartName[$kk] }[1] } )
{
die "ERROR - Part name is: $xpartName[$kk], other part is $seen{ lc $xpartName[$kk]}[0]\n" .
die "ERROR - Part name is: ($xpartName[$kk], $partType[$kk]), other part is ($seen{ lc $xpartName[$kk]}[0], $seen{ lc $xpartName[$kk]}[1])\n" .
"Two parts, that generate code, with the same name (but diffrent capitalization) were found. " .
"This can cause an issue with code generation.\nPlease rename one of the parts.\n";
}
Loading