-
Notifications
You must be signed in to change notification settings - Fork 91
Expand file tree
/
Copy patherror.hrx
More file actions
51 lines (44 loc) · 1.76 KB
/
error.hrx
File metadata and controls
51 lines (44 loc) · 1.76 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
<===> outside_mixin/input.scss
$error: content-exists();
<===> outside_mixin/error
Error: Cannot call content-exists() except within a mixin.
on line 1 of /sass/spec/core_functions/content-exists/errors/outside-of-mixin/input.scss
Use --trace for backtrace.
<===> outside_mixin/error-dart-sass
Error: content-exists() may only be called within a mixin.
,
1 | $error: content-exists();
| ^^^^^^^^^^^^^^^^
'
/sass/spec/core_functions/content-exists/error/outside_mixin/input.scss 1:9 root stylesheet
<===>
================================================================================
<===> inside_function/input.scss
@function my-content-exists() {
@return content-exists(); // must be called within a mixin
}
@mixin uses-content-exists-indirectly {
.test {
error: my-content-exists();
}
@if false {
@content;
}
}
@include uses-content-exists-indirectly {
.content { exists: yep; }
}
<===> inside_function/error
Error: Cannot call content-exists() except within a mixin.
on line 2 of /sass/spec/core_functions/content-exists/errors/inside-function/input.scss, in `uses-content-exists-indirectly'
from line 14 of /sass/spec/core_functions/content-exists/errors/inside-function/input.scss
Use --trace for backtrace.
<===> inside_function/error-dart-sass
Error: content-exists() may only be called within a mixin.
,
2 | @return content-exists(); // must be called within a mixin
| ^^^^^^^^^^^^^^^^
'
/sass/spec/core_functions/content-exists/error/inside_function/input.scss 2:11 my-content-exists()
/sass/spec/core_functions/content-exists/error/inside_function/input.scss 7:12 uses-content-exists-indirectly()
/sass/spec/core_functions/content-exists/error/inside_function/input.scss 14:1 root stylesheet