From 5cc2eb872432f5a00dd530f6a1e3f965c749162a Mon Sep 17 00:00:00 2001 From: Paul Phillips Date: Sun, 21 Apr 2013 10:16:00 -0700 Subject: SI-7324 jvm not cool with 255+ parameters Fail those monster methods rather than generating bad bytecode. --- test/files/neg/t7324.check | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 test/files/neg/t7324.check (limited to 'test/files/neg/t7324.check') diff --git a/test/files/neg/t7324.check b/test/files/neg/t7324.check new file mode 100644 index 0000000000..586947d5e7 --- /dev/null +++ b/test/files/neg/t7324.check @@ -0,0 +1,4 @@ +t7324.scala:2: error: Platform restriction: a parameter list's length cannot exceed 254. +class Bar( + ^ +one error found -- cgit v1.2.3