Are default arguments being filled by the code tha...
# getting-started
a
Are default arguments being filled by the code that is calling it? I.o.w., if I have this:
Copy code
data class Foo(val list: PersistentList<String> = persistentListOf())
This code has a dependency on the Immutable collections library, but calling code that does the following:
Copy code
val foo = Foo();
must have that same library on it's classpath, otherwise it doesn't get compiled.
c
I'm not an expert, but I think so, yes
Maybe this is worth asking in #compiler?