5.9. Common Errors

5.9.1. Indexing on illegal type

This usually stems from trying to use a mapping variable that hasn't yet been initialized.


  mapping m;

  ...

  m["blah"] = "joe";   // this will raise an error