When I use @Adding, why do I get this confusing er...
# declarative-gradle
p
When I use @Adding, why do I get this confusing error message (9.9.1): `An @Adding function with a Unit return type may not accept configuring lambdas`:
Copy code
@Adding fun prod(id: String, builder: Action<ObserverDefinition>)
@Adding fun prod(builder: Action<ObserverDefinition>)
Why does the error message contains “may”… either it is allowed or not 🙃
e