You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
scala>traitA; traitB; classCextendsAwithB; classOf[C].getInterfaces
defined traitA
defined traitB
defined classC
res0:Array[Class[_]] =Array(interface A, interface B)
current 2.11.x
scala>traitA; traitB; classCextendsAwithB; classOf[C].getInterfaces
defined traitA
defined traitB
defined classC
res0:Array[Class[_]] =Array(interface B, interface A)
The text was updated successfully, but these errors were encountered:
Since https://github.com/scala/scala/pull/4080/files#diff-34082ec02c067748f0d47c0bf037a717R203, the list of implemented interfaces in classfiles is reversed:
2.11.4
current 2.11.x
The text was updated successfully, but these errors were encountered: