Skip to content

Commit 133916e

Browse files
smarterfelixmulder
authored andcommitted
Fix pickle_pickleOK test
It failed because two files in the same package compiled at the same time defined respectively a class Test and an object Test. I'm guessing this did not fail before because failure depends on the order of the files on the command line.
1 parent 258dbba commit 133916e

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

tests/pickling/i1202a.scala

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
package i1202a
2+
13
class Test[T] {
24
def testMethod: Unit =
35
new Foo(this)

tests/pickling/zoo.scala

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
package zoo
2+
13
object Test {
24
trait FoodStuff
35
trait Meat extends FoodStuff {

0 commit comments

Comments
 (0)