**To reproduce:** <!-- If the issue you reported requires a complex codebase to reproduce, please provide a replicable method such as a Github repository, Codesandbox link, Stackblitz link, or other relevant method for maintainers to investigate your feedback effectively. Thanks ! --> ```less @compPrefix: ~'hi'; .@{compPrefix}{ color:red; &:not(.@{compPrefix}-one, .@{compPrefix}-two){ color:blue } } ``` ```less @compPrefix: ~'hi'; .@{compPrefix}{ color:red; &:not(&-one, &-two){ color:blue } } ``` **Current behavior:** <!-- A clear and concise description of what the bug is --> ``` ParseError: Missing closing ')' in /Users/lar/work/isv/theme_static/test.less on line 4, column 26: 3 color:red; 4 &:not(.@{compPrefix}-one, .@{compPrefix}-two){ 5 color:blue ``` **Expected behavior:** Output like this; ```css .hi { color: red; } .hi:not(.hi-one, .hi-two){ color: blue; } ``` <!-- A clear and concise description of what you expected to happen --> **Environment information:** <!-- Provide the `less` and `nodejs` packages versions --> - `less` version: 4.1.2 - `nodejs` version: 16.14.0 - `operating system`: macos <!-- macos, linux or windows ? --> <!-- feel free to add additional comments -->