You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Reported by a user and recently confirmed, there are cases where the engine gives a wrong reference to a duplication error. It's not a false positive, but the referenced lines are not the ones that are causing the duplication error.
It indicates the error like following
but the real duplication it's in the declared functions. If you remove the similarities between the functions the duplication does not pop up any warning.
With the following files it possible to see how there is no warning the the functions are not similar. Therefore the reference to the namespace section where the duplication was supposed to be was wrong, but there was a duplication error. wrong-duplication-reference.zip
The text was updated successfully, but these errors were encountered:
Reported by a user and recently confirmed, there are cases where the engine gives a wrong reference to a duplication error. It's not a false positive, but the referenced lines are not the ones that are causing the duplication error.
It indicates the error like following
but the real duplication it's in the declared functions. If you remove the similarities between the functions the duplication does not pop up any warning.
Files to reproduce the problem.
wrong-duplication-reference.zip
With the following files it possible to see how there is no warning the the functions are not similar. Therefore the reference to the namespace section where the duplication was supposed to be was wrong, but there was a duplication error.
wrong-duplication-reference.zip
The text was updated successfully, but these errors were encountered: