2019.2 - CSS function raises inspection error in SCSS stylesheet

Greetings, everyone!

I have a SCSS stylesheet with the following property set:

top: min(20px, 50%);

PhpStorm raises an inspection error "Mismatched property value", but only in the SCSS file. In the generated CSS file, it's absolutely fine without any inspection errors, and SCSS doesn't show any errors.

This used to work fine in 2019.1.3

It it possible to somehow fix this without turning the inspection off either globally or for this stylesheet?

1 comment
Comment actions Permalink

submitted to developers as https://youtrack.jetbrains.com/issue/WEB-40241, please follow it for updates

0

Please sign in to leave a comment.