We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cdd3d1e commit 7e33160Copy full SHA for 7e33160
tests/init/neg/AbstractFile.scala
@@ -4,6 +4,6 @@ abstract class AbstractFile {
4
}
5
6
class RemoteFile(url: String) extends AbstractFile {
7
- val localFile: String = url.hashCode + ".tmp" // error
+ val localFile: String = s"${url.##}.tmp" // error: usage of `localFile` before it's initialized
8
def name: String = localFile
9
0 commit comments