Boo
  1. Boo
  2. BOO-396

Closures can't use the fantastical variable input magic.

    Details

    • Type: Bug Bug
    • Status: Resolved Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.5.6
    • Fix Version/s: 0.6
    • Component/s: Compiler
    • Labels:
      None
    • Testcase included:
      yes
    • Number of attachments :
      1

      Description

      Closures can't take variable arguments.

      whack = def(*args as (string)):
      print join(args)
      whack("Hello", "World") #compiler, fail miserably!

      Pathetic test-case attached.

      1. ClosureTest.boo
        0.2 kB
        Arron Washington

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Rodrigo B. de Oliveira
            Reporter:
            Arron Washington
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: