GROOVY-9244: prevent ambiguous constructor if using @InheritConstructors

    class Base {
      Base(Number n) {}
      Base(String s) {}
    }
    @groovy.transform.InheritConstructors
    class Impl {
    }
    new Impl((String) null) // should trigger Base(String)
2 files changed