W2007 Safety Warnings

Safety

this variable shadows a global constant or variable

When this occurs

This error is triggered when: this variable shadows a global constant or variable

Example error message

warning[W2007]: variable shadows global variable or constant

How to fix

Review the error message and check your code at the indicated location. The message describes what went wrong — fix the underlying issue it identifies.

Related errors

No related errors.