Maybe add a check to File.copyTo(target: File, ove...
# stdlib
m
Maybe add a check to File.copyTo(target: File, overwrite=true, …) weather or not “this” and “target” are in fact the same file, so the file does not get deleted and is then gone when trying to copy it. We need more stupidity protection, at least I do 🙈
i
Makes sense. Could you file a request in http://kotl.in/issue?
m
Will do 🙂