From 816cecf9a95989dfc570f2acad87d4156b09e2ff Mon Sep 17 00:00:00 2001 From: Paul Phillips Date: Tue, 28 Aug 2012 13:37:02 -0700 Subject: More fix for invalid companions. Eliminated InvalidCompanions exception entirely. Anyone's guess why we unholstered this exception every time someone calls "isCodefinedWith" rather than when symbols are created. I moved the check into Namers, where it can be done once and with sufficient finesse not to crash so much. With this patch in place, "playbench" can be built with java7. --- test/files/neg/t5031b/b.scala | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 test/files/neg/t5031b/b.scala (limited to 'test/files/neg/t5031b/b.scala') diff --git a/test/files/neg/t5031b/b.scala b/test/files/neg/t5031b/b.scala new file mode 100644 index 0000000000..bdef237af5 --- /dev/null +++ b/test/files/neg/t5031b/b.scala @@ -0,0 +1,3 @@ +package foo + +object Bippy -- cgit v1.2.3