eerolanguage/eero — Issue #13: Default method variable names in interfaces are ugly
Author: andyarvanitis
Created: 2011-12-27 22:06:23+00:00
State: open

Currently, the compiler generates ugly default variable names in interfaces (not in implementations). For example:
{{{
interface MyClass
setObject id, withObject id // generates var names "objectA", "objectB"
end
}}}
This was done avoid compiler warnings in interfaces for multiple parameters with the same name. The problem with these names occurs when the compiler emits other errors or warnings and references these names. At the very least, the first occurrence should not have any suffix (e.g. "object", "objectA").