GROOVY-6400: add a compile error for mixed mode constructors