Skip to content

Disallow passing functions/mixins across compilations #2544

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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

ntkme
Copy link
Contributor

@ntkme ntkme commented Mar 12, 2025

@ntkme ntkme force-pushed the disallow-compiler-function-mixin-across-compilations branch from 4b9ee73 to 29d7ef1 Compare April 1, 2025 00:46

/// @nodoc
@internal
T accept<T>(ValueVisitor<T> visitor) => visitor.visitFunction(this);

SassFunction assertFunction([String? name]) => this;

@internal
SassFunction assertCompileContext(Object compileContext) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please document this.

@nex3 nex3 force-pushed the disallow-compiler-function-mixin-across-compilations branch from 2547c76 to 7816348 Compare May 5, 2025 23:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Passing compiler Functions/Mixins across different compilations should not be allowed
2 participants