peichhorn/lombok-pg — Issue #42: Val bug
Author: nicholas22
Created: 2011-10-30 22:31:04+00:00
State: open

Using dom4j library and that has some raw type usage, so I do this:

for(val attribute : propElement.attributes())

The attributes() method call returns an Object[], but I'm getting an error "propElement cannot be resolved or is not a field". Workaround: Changing the val to Object