why the allByDefault declaration is marked as an error while the declaration of simple is not? This is the official documentation.
p
Pavlo Liapota
12/10/2018, 8:56 AM
It would be an error for a
simple
too, as comment says:
must be initialized in constructor
f
febs
12/10/2018, 9:01 AM
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"