diff options
author | Paul Phillips <paulp@improving.org> | 2012-08-28 13:37:02 -0700 |
---|---|---|
committer | Josh Suereth <joshua.suereth@gmail.com> | 2012-09-05 21:14:59 -0400 |
commit | 816cecf9a95989dfc570f2acad87d4156b09e2ff (patch) | |
tree | a9fa538f694b01da4366543c08c6a9538f17adf7 /test/files/neg/t5031b/a.scala | |
parent | e26104db07769ca17fc33cc53a151f22d4298ce3 (diff) | |
download | scala-816cecf9a95989dfc570f2acad87d4156b09e2ff.tar.gz scala-816cecf9a95989dfc570f2acad87d4156b09e2ff.tar.bz2 scala-816cecf9a95989dfc570f2acad87d4156b09e2ff.zip |
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.
Diffstat (limited to 'test/files/neg/t5031b/a.scala')
-rw-r--r-- | test/files/neg/t5031b/a.scala | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/files/neg/t5031b/a.scala b/test/files/neg/t5031b/a.scala new file mode 100644 index 0000000000..0ab9aa9769 --- /dev/null +++ b/test/files/neg/t5031b/a.scala @@ -0,0 +1,3 @@ +package foo + +class Bippy |