diff options
author | Lukas Rytz <lukas.rytz@epfl.ch> | 2012-05-19 12:27:08 +0200 |
---|---|---|
committer | Lukas Rytz <lukas.rytz@epfl.ch> | 2012-05-19 13:59:38 +0200 |
commit | 57967c9d1e93aa3a4d26fc02f13172f4622ed9e3 (patch) | |
tree | 5292b61eaaab45816453659aba1273d6078f1b70 /test | |
parent | 5b9bf3d7124e8ba6e27953fa5cc00367614ecf5b (diff) | |
download | scala-57967c9d1e93aa3a4d26fc02f13172f4622ed9e3.tar.gz scala-57967c9d1e93aa3a4d26fc02f13172f4622ed9e3.tar.bz2 scala-57967c9d1e93aa3a4d26fc02f13172f4622ed9e3.zip |
Fix 4812
Remove default arguments from parameter ValDefs in UnCurry.
Diffstat (limited to 'test')
-rw-r--r-- | test/files/pos/t4812.scala | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/files/pos/t4812.scala b/test/files/pos/t4812.scala new file mode 100644 index 0000000000..2a807ab05e --- /dev/null +++ b/test/files/pos/t4812.scala @@ -0,0 +1,4 @@ +trait Test1 { + def m1(sym: Symbol = 'TestSym) + def m2(s: String = "TestString") +} |