So I'm having some file io issues that I can't see...
# announcements
a
So I'm having some file io issues that I can't seem to figure out. Google isn't helping me and I don't know where to turn to. It could be a kotlin thing cause I never had this problem before until I updated to the latest kotlin version 1.2.41. I'm using Intellij 2017.3 (I know I need to update) but when I construct a new file reader object everything is fine. But when I construct a filewriter object, my file gets cleared. I've done this before without this problem. Or am I just using FileWriter wrong? Stepping through it, my file seems to get cleared here https://gist.github.com/AlexCouch/b2dbfad681b2717381fca2202b5d8705#file-mycode-kt-L35