# test overload groups split between inheritance class Vehicle def foo(i as int) pass class Car inherits Vehicle def foo(s as String) pass class Shape def foo(i as int) pass def foo(s as String) pass class Circle inherits Shape def foo(c as char) pass class Program def main is shared c as Car = Car() c.foo(5) c.foo('aoeu') ci as Circle = Circle() ci.foo(c'x') ci.foo(5) ci.foo('aoeu')