class A { set; foo(v) {} } class B { set = 1; foo(v) {} }