This was my error but should the compiler have detected the double declaration of "index"?
Or at least generated a warning?
B4X:
Sub MapEntry(index As Int) As GridPoint
Dim tempPoint As GridPoint
Dim index As Int
Or at least generated a warning?