We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4b7e402 commit 68728f4Copy full SHA for 68728f4
scaladoc/src/scala/tasty/inspector/TastyInspector.scala
@@ -46,7 +46,7 @@ object ScaladocInternalTastyInspector:
46
private def checkFiles(tastyFiles: List[String], jars: List[String]): Unit =
47
def checkFile(fileName: String, ext: String): Unit =
48
val file = dotty.tools.io.Path(fileName)
49
- if !file.ext.toLowerCase.equalsIgnoreCase(ext) then
+ if !file.extension.toLowerCase.equalsIgnoreCase(ext) then
50
throw new IllegalArgumentException(s"File extension is not `.$ext`: $file")
51
else if !file.exists then
52
throw new IllegalArgumentException(s"File not found: ${file.toAbsolute}")
0 commit comments