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

Error thrown when using @include inside a @function #10

Open
stephen-ullom opened this issue May 28, 2022 · 0 comments
Open

Error thrown when using @include inside a @function #10

stephen-ullom opened this issue May 28, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@stephen-ullom
Copy link
Collaborator

stephen-ullom commented May 28, 2022

An error is thrown when using an include inside a function:

@function button(label: string) {
    @include('button.torx', { label })
}

Error: SyntaxError: Unexpected identifier at new Function (<anonymous>)

@stephen-ullom stephen-ullom added the bug Something isn't working label May 28, 2022
@stephen-ullom stephen-ullom added enhancement New feature or request bug Something isn't working and removed bug Something isn't working enhancement New feature or request labels Oct 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant