Community
Participate
Working Groups
From http://www.eclipse.org/forums/index.php?t=msg&th=197535&start=0&S=406fa41b7995a015a0d146c658fb332a When a base class has two methods with the same name, a bound role cannot callin bind one overload and also use inferred callout to the other overload. The compiler wrongly flags Method askForType(char[][]) cannot be called explicitly; is a callin method (OTJLD 4.2(d)). At seems that the check for the 'callin' modifier does not respect overloading and prematurely aborts callout inference.
Created attachment 179978 [details] fix This patch fixes the issue basically by just swapping the order of callout inference and checking the 'callin' flag. See witness in test3117_inferredCallout10()
Fix has been committed as r923.
Verified for 0.8 M3 using build 201011100445