Boo
  1. Boo
  2. BOO-407

Calling params inside of a closure is broken.

    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

      The attached file doesn't have its tab-spaces mutilated, but here's the contents of the file anyway:

      """
      HELLO/WORLD
      """
      def blah():
      bloo = def(grr as string):
      return grr.Split(char(' '))
      print join(bloo("HELLO WORLD"), '/')
      blah()

      Explosive target-invocation error on running this sample.

      The problem occurs from calling string.Split() from within the closure.

      1. freakyerror.boo
        0.1 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: