#Bug
CC0021 suggests using a constant definition name as itself which does not compile.
'the code that reproduces the bug
Class MyClass
Public Const MyConst="MyConst"
End Class
Current output after fix applied:
'code fixed incorrectly
Class MyClass
Public Const MyConst=NameOf(MyConst)
End Class
Error:
BC30500 Constant 'MyConst' cannot depend on its own value.
#Bug
CC0021 suggests using a constant definition name as itself which does not compile.
Current output after fix applied:
Error:
BC30500 Constant 'MyConst' cannot depend on its own value.