diff options
author | odersky <odersky@gmail.com> | 2016-10-13 19:55:42 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-10-13 19:55:42 +0200 |
commit | 6095454e05ba4446fca446c5b53e80180d69b127 (patch) | |
tree | cd2c84911bbbf49a33a27de5c444de48741508c4 /tests/run | |
parent | 4f8a85c3f174a2fd04073475cef87691057af9bf (diff) | |
parent | 13c5c28671cb8b61fd28661629e88e24f3b92faf (diff) | |
download | dotty-6095454e05ba4446fca446c5b53e80180d69b127.tar.gz dotty-6095454e05ba4446fca446c5b53e80180d69b127.tar.bz2 dotty-6095454e05ba4446fca446c5b53e80180d69b127.zip |
Merge pull request #1577 from dotty-staging/fix-1543-2
Fix #1543: Ignore IgnoredProto when normalizing method application.
Diffstat (limited to 'tests/run')
-rw-r--r-- | tests/run/i1543.check | 31 | ||||
-rw-r--r-- | tests/run/i1543.scala | 41 |
2 files changed, 72 insertions, 0 deletions
diff --git a/tests/run/i1543.check b/tests/run/i1543.check new file mode 100644 index 000000000..10adcaf83 --- /dev/null +++ b/tests/run/i1543.check @@ -0,0 +1,31 @@ +1 +2 +3 +4 +5 +6 +7 +8 +9 +10 +11 +12 +13 +14 +15 +16 +17 +18 +19 +20 +21 +22 +23 +24 +25 +26 +27 +28 +29 +30 +31 diff --git a/tests/run/i1543.scala b/tests/run/i1543.scala new file mode 100644 index 000000000..268bc717b --- /dev/null +++ b/tests/run/i1543.scala @@ -0,0 +1,41 @@ + +object Test extends dotty.runtime.LegacyApp { + new Bar().foo(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31) +} + + +class Bar { + def foo(p1: Int, p2: Int, p3: Int, p4: Int, p5: Int, p6: Int, p7: Int, p8: Int, p9: Int, p10: Int, p11: Int, p12: Int, p13: Int, p14: Int, p15: Int, p16: Int, p17: Int, p18: Int, p19: Int, p20: Int, p21: Int, p22: Int, p23: Int, p24: Int, p25: Int, p26: Int, p27: Int, p28: Int, p29: Int, p30: Int, p31: Int): Unit = { + println(p1) + println(p2) + println(p3) + println(p4) + println(p5) + println(p6) + println(p7) + println(p8) + println(p9) + println(p10) + println(p11) + println(p12) + println(p13) + println(p14) + println(p15) + println(p16) + println(p17) + println(p18) + println(p19) + println(p20) + println(p21) + println(p22) + println(p23) + println(p24) + println(p25) + println(p26) + println(p27) + println(p28) + println(p29) + println(p30) + println(p31) + } +} |