From c9c193202f00e6e01ae9a3e7ccbdac072f98fcc0 Mon Sep 17 00:00:00 2001 From: Guillaume Martres Date: Sat, 11 Mar 2017 15:44:07 +0100 Subject: Move tests/tasty/* to tests/pickling/* These two directories were tested using the same flags, but tests/tasty compiled all of its files at once which is usually not what is intended. --- tests/pickling/default-param-interface.scala | 3 +++ tests/pickling/i982.scala | 8 ++++++++ 2 files changed, 11 insertions(+) create mode 100644 tests/pickling/default-param-interface.scala create mode 100644 tests/pickling/i982.scala (limited to 'tests/pickling') diff --git a/tests/pickling/default-param-interface.scala b/tests/pickling/default-param-interface.scala new file mode 100644 index 000000000..919f4b627 --- /dev/null +++ b/tests/pickling/default-param-interface.scala @@ -0,0 +1,3 @@ +trait Foo { + def newName(prefix: String = "foo"): String +} diff --git a/tests/pickling/i982.scala b/tests/pickling/i982.scala new file mode 100644 index 000000000..838b250d9 --- /dev/null +++ b/tests/pickling/i982.scala @@ -0,0 +1,8 @@ +trait Z { + type Q + def test: Q +} +class X(val x: Z) +class Y(x: Z) extends X(x) { + x.test +} -- cgit v1.2.3