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

Friendlier Errormessage when trying to use style directive on components #7177

Closed
Mai-Lapyst opened this issue Jan 23, 2022 · 1 comment · Fixed by #7187
Closed

Friendlier Errormessage when trying to use style directive on components #7177

Mai-Lapyst opened this issue Jan 23, 2022 · 1 comment · Fixed by #7187
Labels
compiler Changes relating to the compiler feature request

Comments

@Mai-Lapyst
Copy link

Describe the problem

Currently, when trying to use style directives (style:color="red" for example), an generic errormessage Not implemented: StyleDirective gets printed out and the compiler stops.

For more details on this, see #7176 .

Describe the proposed solution

An friendlier errormessage, that informs the user more precisely that style directive are currently not supported on components. Additionaly, the languageserver should be able to put the error-indicator onto the directive that causes the error.

Alternatives considered

Implementing style directives; but as already stated in #7176, its currently unknown when and how support will be added.

Importance

would make my life easier

@Conduitry
Copy link
Member

3.46.4 now gives a friendlier error - "Style directives cannot be used on components"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compiler Changes relating to the compiler feature request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants