Resolved to:
0: (in bar.ClassWithCompanion.Companion) fun foo()