If the REPL or fsc is used with -Yinline then we end up in a state where two symbols represent the same thing and the second version isn't initialized where it's expected. This is the root cause for the linked bugs which have more discussion on the subject.
Undoing the fix for #SI-5789 creates a simple reproducer. The test associated with that fix will cause an assertion in Mixin.scala.