From f1348f79566277ce72e1e4e070bf94a54b0f787e Mon Sep 17 00:00:00 2001 From: VladimirNik Date: Mon, 7 Mar 2016 17:00:47 +0100 Subject: Fix for separate compilation with value class issue (missing companion object - #1137) --- tests/pos/i1137-1/B_2.scala | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 tests/pos/i1137-1/B_2.scala (limited to 'tests/pos/i1137-1/B_2.scala') diff --git a/tests/pos/i1137-1/B_2.scala b/tests/pos/i1137-1/B_2.scala new file mode 100644 index 000000000..644d5bd1d --- /dev/null +++ b/tests/pos/i1137-1/B_2.scala @@ -0,0 +1,3 @@ +object B { + def foo: A = new A(1) +} -- cgit v1.2.3