why the allByDefault declaration is marked as an e...
# getting-started
f
why the allByDefault declaration is marked as an error while the declaration of simple is not? This is the official documentation.
p
It would be an error for a
simple
too, as comment says:
must be initialized in constructor
f
OK, thanks, that was unclear. To me it looked like "the first example is an error, period. In the second case you can initialize it in the constructor"