Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Emit a deprecation warning for the strict parsing of unary operators #619

Merged
merged 1 commit into from
Sep 17, 2022

Commits on Sep 17, 2022

  1. Emit a deprecation warning for the strict parsing of unary operators

    This emits a deprecation warning for `$a -$b` and `$a +$b`, since
    these look like they could be unary operations but they're actually
    parsed as binary operations. Either explicitly write `$a - $b` or
    `$a (-$b)`. See https://sass-lang.com/d/strict-unary for more details.
    
    This deprecation is only implemented for the new parser ported from
    dart-sass, not for the legacy parser.
    stof committed Sep 17, 2022
    Configuration menu
    Copy the full SHA
    cae0624 View commit details
    Browse the repository at this point in the history