No. The problem is that `class Test(val a: Int)` i...
# getting-started
k
No. The problem is that
class Test(val a: Int)
is a shorthand for "A class Test with a property
a
and a constructor with a single parameter
a
that sets the property to the passed value." The warning is saying that you never use the property part of this shorthand, only the constructor argument part.