Possibly related to:
I'd like to note for the dev team that there are issues with regular inheritance, not only with circular references.
I saw paulb's comments that some things are by design, but this doesn't seem like it.
My code is quite simple, A extends B, C extends B, but depending on which folder the files are, they are compiled in the wrong order and this keeps changing depending on which file I change later.
This seems to happen only if you have classes in different directories, and makes it impossible to use single file output for anything other than samples.