nddrylliog/rock — Issue #361: Iterating over `HashMap keys` gives a funny error message
Author: fredreichbier
Created: 2011-12-21 18:41:56+00:00
State: open

This code:

```ooc

import structs/HashMap

hm := HashMap new()
hm put("foo", "bar")

for(key in hm keys) { key println() }
```

says:

```

sdk/structs/ArrayList.ooc:186:36 ERROR Undefined symbol 'this'
iterator: func -> BackIterator { return ArrayListIterator new(this) }

[FAIL]
```

Sure, it shouldn't use `keys` but `getKeys()`, but this doesn't look very cool. :D