Exception when SourceFile is in directory
pranjalvachaspati-toast opened this issue · comments
createNewFile()
throws an exception if you try to create a SourceFile with path like /foo/bar/baz/MyFile.kt
.
The fix, in PR #339, is to call mkdirs()
on the parent directory.