On Fri Jan 02 12:06:57 2009, publiustemp-perl6compil...@yahoo.com wrote:
>
> However, any whitespace after the opening paren causes a parse
> failure:
> 
>   class Foo {
>       has (    $.this,
>           $.that,
>       );
>   }
>   my Foo $foo .= new( this => 3, that => 4 );
>   say $foo.this;
> 
> Unable to parse declarator; couldn't find final ')' at line 4, near
> "$.this, \n "

Now working as of r35397:

  $ cat x
  class Foo {
      has ( $.this,
            $.that,
          );
  }

  my Foo $foo .= new( this => 3, that => 4);
  say $foo.this;

  $ ./parrot perl6.pbc x
  3
  $

Assigning ticket to moritz so we can make sure there's a regression
spectest for this.  Thanks!

Pm

Reply via email to