- About Scala
- Documentation
- Code Examples
- Software
- Scala Developers
Another question, compiler problem?
Mon, 2009-08-17, 20:05
I was trying to do this:
class RelativePathName (thePathName : String)
extends PathName
(new java.io.File (WORKING_DIRECTORY,
normalizeName (thePathName))) {
And defined WORKING_DIRECTORY and normalizeName in the companion object
as privates. That didn't work. Making them public DOES work, but I thought
the class and the object recognize each others names?
Job