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

Document is confusing, 'Numeric Operators' part #675

Closed
khv2644511 opened this issue Sep 28, 2022 · 1 comment
Closed

Document is confusing, 'Numeric Operators' part #675

khv2644511 opened this issue Sep 28, 2022 · 1 comment
Assignees

Comments

@khv2644511
Copy link

khv2644511 commented Sep 28, 2022

(https://sass-lang.com/documentation/operators/numeric)
In the code block below, it says @debug 5px * 3px; // 15px*px
but It's actually printed 'error' message.

please, take this into consideration :)

khv2644511 added a commit to khv2644511/sass-site that referenced this issue Sep 28, 2022
Document is confusing, 'Numeric Operators' part sass#675

(https://sass-lang.com/documentation/operators/numeric)
In the code block below, it says @debug 5px * 3px; // 15px*px
but It's actually printed 'error' message.

Resolves: sass#675
@jathak
Copy link
Member

jathak commented Oct 3, 2022

@debug 5px * 3px works fine. Please make sure you're using the latest version of Sass.

5px * 3px on its own does cause an error, since px^2 aren't a valid CSS unit, but that's not what the example code is using.

@jathak jathak closed this as not planned Won't fix, can't repro, duplicate, stale Oct 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants