leafo/lessphp

parse error: failed at `$result: &;` (stdin)

syaahi opened this issue · 1 comments

@mixin assert-selector($selectors...) {
    $result: &;

    @each $selector in $selectors {
        $result: selector-append($result, unquote(':not(#{$selector})'));
    }

    @at-root #{$result} {
        /*! You must ensure the element matches one of these selectors: #{$selectors} */
        outline: 2px solid red !important;
    }
}

source:
https://github.com/dropbox/scooter/blob/master/scss/mixins/_accessibility.scss

i have no idea if scss code is wrong
or it's compiler's fault, so i posted it here.

i m sorry , now i posted it to leafo/scssphp issue 503