Android Question Should the compiler detect this?

SteveTerrell

Active Member
Licensed User
Longtime User
This was my error but should the compiler have detected the double declaration of "index"?

B4X:
Sub MapEntry(index As Int) As GridPoint
Dim tempPoint As GridPoint
Dim index As Int

Or at least generated a warning?
 
Top