richthegeek/phpsass — pull request #76 by infostreams (2013-02-11 15:55:01+00:00)
Title: Implemented default values referring to other arguments

Given this mixin:

```@mixin radius($topleft: , $topright: $topleft, $bottomright: $topleft, $bottomleft: $topleft) {

-moz-border-radius-topleft: $topleft;
-moz-border-radius-topright: $topright;
-moz-border-radius-bottomright: $bottomright;
-moz-border-radius-bottomleft: $bottomleft;
-webkit-border-radius: $topleft $topright $bottomright $bottomleft;
border-radius: $topleft $topright $bottomright $bottomleft;

}

a { @include radius(4px); }````

expected output is

```a {
-moz-border-radius-topleft: 4px;
-moz-border-radius-topright: 4px;
-moz-border-radius-bottomright: 4px;
-moz-border-radius-bottomleft: 4px;
-webkit-border-radius: 4px 4px 4px 4px;
border-radius: 4px 4px 4px 4px;
}```

However, PHPSass generates

```a {
-moz-border-radius-topleft: 4px;
-moz-border-radius-topright: false;
-moz-border-radius-bottomright: false;
-moz-border-radius-bottomleft: false;
-webkit-border-radius: 4px false false false;
border-radius: 4px false false false;
}```

I've added some code to change that - pull if you like :-)