File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -39,6 +39,10 @@ class SassFunction extends Value {
3939
4040 SassFunction assertFunction ([String ? name]) => this ;
4141
42+ /// Asserts that this SassFunction belongs to [compileContext] and returns it.
43+ ///
44+ /// It's checked before evaluating a SassFunction to prevent execution of
45+ /// SassFunction across different compilations.
4246 @internal
4347 SassFunction assertCompileContext (Object compileContext) {
4448 if (_compileContext != null && _compileContext != compileContext) {
Original file line number Diff line number Diff line change @@ -41,6 +41,10 @@ final class SassMixin extends Value {
4141
4242 SassMixin assertMixin ([String ? name]) => this ;
4343
44+ /// Asserts that this SassMixin belongs to [compileContext] and returns it.
45+ ///
46+ /// It's checked before evaluating a SassMixin to prevent execution of
47+ /// SassMixin across different compilations.
4448 @internal
4549 SassMixin assertCompileContext (Object compileContext) {
4650 if (_compileContext != null && _compileContext != compileContext) {
You can’t perform that action at this time.
0 commit comments