From 5962a931c83622ce065bc1ce9add049ade89bfcf Mon Sep 17 00:00:00 2001 From: Martin Odersky Date: Sun, 8 Mar 2015 22:02:22 +0100 Subject: Pickling test reorg Move pickling tests into separate top-level test directory. That way they are not needlessly pos-tested before. Also, disable core tests for now - after rebasing we get a stale symbol error. Need to investigate that. --- tests/pickling/selftypes.scala | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 tests/pickling/selftypes.scala (limited to 'tests/pickling/selftypes.scala') diff --git a/tests/pickling/selftypes.scala b/tests/pickling/selftypes.scala new file mode 100644 index 000000000..243405f77 --- /dev/null +++ b/tests/pickling/selftypes.scala @@ -0,0 +1,20 @@ +object selftypes { + + trait A { self: AB => + + type AA = List[this.BX] + + class AX + + } + + trait B { self: AB => + + type BB = AA + + class BX + } + + class AB extends A with B + +} \ No newline at end of file -- cgit v1.2.3