I think this is intended behavior. When you create a new file with the same name as an old one the old code shows up. If you didn’t want a duplicate file just create a new file with the new name. Then cut and paste the code.
You must be joking? They intended to work like this?
To be honest this is quite annoying as during development modules change name (and REPL should be able to track this change like any other IDE also) and the same name is reused not with the idea of duplicate.
Maybe I should truly try SSH to ditch the RPL IDE