[dylan-lang/opendylan] a71a4d: [dfmc-execution] Fix calls with rest and keyword a...

GitHub <[email protected]>
Newsgroups gmane.comp.lang.dylan.gwydion.cvs
Message-ID <55ac5f1989f5_3dfe3fe39a05329c36380@hookshot-fe2-cp1-prd.iad.github.net.mail>
  Branch: refs/heads/master
  Home:   https://github.com/dylan-lang/opendylan
  Commit: a71a4d4146619ee2d3cd8ce41fc0a44e4d987ae5
      https://github.com/dylan-lang/opendylan/commit/a71a4d4146619ee2d3cd8ce41fc0a44e4d987ae5
  Author: Bruce Mitchener <[email protected]>
  Date:   2015-07-14 (Tue, 14 Jul 2015)

  Changed paths:
    M sources/dfmc/execution/runtime-execution.dylan
    M sources/dfmc/testing/execution-tests.dylan

  Log Message:
  -----------
  [dfmc-execution] Fix calls with rest and keyword args.

* sources/dfmc/execution/runtime-execution.dylan
  (bind-call-arguments): Check for whether or not the call has
    rest or keyword arguments. If so, then the call site already
    has the rest vector prepared and we can just use it rather
    than putting our own #[] into the arguments.

* sources/dfmc/testing/execution-tests.dylan
  (execution-test string-test,
   execution-test string-concatenate): Test using rest and keyword
    arguments. The concatenate test jumps through a hoop to do an
    apply() so that code path is tested as well.
  (suite dfmc-execution-suite): Run string-test and string-concatenate
    tests.


  Commit: 1480a27ce31fd9844c68e694a98a780223b3b59a
      https://github.com/dylan-lang/opendylan/commit/1480a27ce31fd9844c68e694a98a780223b3b59a
  Author: Peter S. Housel <[email protected]>
  Date:   2015-07-19 (Sun, 19 Jul 2015)

  Changed paths:
    M sources/dfmc/execution/runtime-execution.dylan
    M sources/dfmc/testing/execution-tests.dylan

  Log Message:
  -----------
  Merge pull request #940 from waywardmonkeys/dfmc-execution-rest-keyword-args

[dfmc-execution] Fix calls with rest and keyword args.


Compare: https://github.com/dylan-lang/opendylan/compare/5296a412e817...1480a27ce31f

_______________________________________________
chatter mailing list
[email protected]
https://lists.opendylan.org/mailman/listinfo/chatter
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.