It seems that you can't have a Method/Function and a Field/Global in a type with the same names. In other words, this reports a compile-time error: Duplicate identifier: 'foo'.
Could someone explain why this is? It seems that the compiler would be able to know the difference between a function name and a variable name. Am I missing something?
Type duh Field foo Method foo() ; End Method End Type
Could someone explain why this is? It seems that the compiler would be able to know the difference between a function name and a variable name. Am I missing something?