If I try
private[com.company.foo] def bar(xml: XmlPath) = {
I get
[error] ... ']' expected but '.' found.
[error] private[com.
[error] ^
What's with that? I can only make it package-private to com.*, or...?
If I try
private[com.company.foo] def bar(xml: XmlPath) = {
I get
[error] ... ']' expected but '.' found.
[error] private[com.
[error] ^
What's with that? I can only make it package-private to com.*, or...?
You can only define the enclosing package, within which the code is defined:
and if you want to set it to company: