From a2e49e24ec9e39eabfd7ec402c17e72639eb8bbd Mon Sep 17 00:00:00 2001 From: Felix Mulder Date: Fri, 27 May 2016 15:53:23 +0200 Subject: Add test for previous ensuring correct binds --- tests/run/correct-bind.scala | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 tests/run/correct-bind.scala (limited to 'tests/run/correct-bind.scala') diff --git a/tests/run/correct-bind.scala b/tests/run/correct-bind.scala new file mode 100644 index 000000000..9f45012bf --- /dev/null +++ b/tests/run/correct-bind.scala @@ -0,0 +1,4 @@ +object Test extends dotty.runtime.LegacyApp { + val Array(who, what: _*) = "first second third" split (" ") + println(what) +} -- cgit v1.2.3