Using it.set () from BidirListIterator conflicts with Object.set ()
Submitted by Simon Werbeck
Link to original bug (#673311)
Description
This seems to be related to bug 629612. Currently it is impossible to call the set() method of a BidirListIterator (i.e. from list.bidir_list_iterator). Here is a minimal example:
public interface Inf1 : Object {}
public interface Inf2 { public abstract void set (int item); }
public interface Inf3 : Inf1, Inf2 {}
public class Test : Object, Inf1, Inf2, Inf3 { public new void set (int i) { } }
int main (string[] args) { InfC test = new Test (); test.set (1);
return 0;
}
Will produce the error:
error: Argument 1: Cannot convert from int' to
string'
Version: 0.17.x