abstract class AbstractFile {
	def name: String
	val extension: String = name.substring(4)
}

class RemoteFile(url: String) extends AbstractFile {
	val localFile: String = url.hashCode + ".tmp"  // error
	def name: String = localFile
}

abstract class AbstractFile {
	def name: String
	val extension: String = name.substring(4)
}

class RemoteFile(url: String) extends AbstractFile {
	val localFile: String = s"${url.##}.tmp"  // error: usage of `localFile` before it's initialized
	def name: String = localFile
}

Modify a unit test code to make it consistent with a code example in docs
Modify a unit test code to make it consistent with a code example in docs

- The code example in docs was updated, but its origin, the unit test
  code, didn't
