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

Syntex: Less v3.5.0 Property / value accessors issue #66763

Closed
noommii opened this issue Jan 19, 2019 · 1 comment
Closed

Syntex: Less v3.5.0 Property / value accessors issue #66763

noommii opened this issue Jan 19, 2019 · 1 comment
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug css-less-scss Issues and items concerning CSS,Less,SCSS styling verified Verification succeeded
Milestone

Comments

@noommii
Copy link

noommii commented Jan 19, 2019

Issue Type: Feature Request

.func(@c1, @c2) {
@bg: ((@c1 + @c2) / 2);
@clr: (@c1 + @c2);
}
div {
color: **.**func(red, green)[@clr];
background-color: **.**func(red, green)[@bg];
}

//Call mixins show error on 'color' & 'background-color' properties

VS Code version: Code 1.30.2 (61122f8, 2019-01-07T22:54:13.295Z)
OS version: Windows_NT x64 10.0.17134

@aeschli aeschli added the css-less-scss Issues and items concerning CSS,Less,SCSS styling label Jan 21, 2019
@octref
Copy link
Contributor

octref commented Aug 26, 2019

Fixed by microsoft/vscode-css-languageservice#135

This no longer throws error:

.func(@c1, @c2) {
  @bg: ((@c1 + @c2) / 2);
  @clr: (@c1 + @c2);
}

div {
  color: .func(red, green)[@clr];
  background-color: .func(red, green)[@bg];
}

@octref octref added the bug Issue identified by VS Code Team member as probable bug label Aug 26, 2019
@octref octref added this to the August 2019 milestone Aug 26, 2019
@octref octref closed this as completed Aug 26, 2019
@mjbvz mjbvz added the verified Verification succeeded label Aug 28, 2019
@vscodebot vscodebot bot locked and limited conversation to collaborators Oct 10, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug css-less-scss Issues and items concerning CSS,Less,SCSS styling verified Verification succeeded
Projects
None yet
Development

No branches or pull requests

4 participants