Affects Version/s: None
Fix Version/s: Release 1.2
Patch attached, with a test. Thoughts:
1. filtering on base-fields would probably be cleaner, but it looks like (class ~'gtarget) isn't fully formed at that point?
2. this results in a .valAt lookup for any fields that collide with no-arg methods implemented by the defrecord's class. That's unavoidable AFAICT.
3. The best solution would be to disambiguate field access vs. no-arg method invocation, i.e. have a variant of (. obj field) that would be specifically for field access (which is very occasionally needed elsewhere as well). This would nullify # 2.