Closed
Description
When trying to (erroneously) access members of a tuple using square brackets, rather than a period, the compiler gives the message " error: cannot index a value of type .... ". Particularly as a new user, it would be nice if the compiler could suggest something like "try using the .idx syntax rather than [idx]." This isn't by any means a big issue, but it would help eliminate yet another search through the documentation.