File tree Expand file tree Collapse file tree 5 files changed +10
-12
lines changed Expand file tree Collapse file tree 5 files changed +10
-12
lines changed Original file line number Diff line number Diff line change @@ -124,7 +124,8 @@ namespace Sass {
124
124
Callable (SourceSpan::internal(" [EXTERNAL]" )),
125
125
envkey_ (fname),
126
126
declaration_ (parameters),
127
- lambda_ (lambda)
127
+ lambda_ (lambda),
128
+ cookie_ (nullptr )
128
129
{}
129
130
130
131
// Equality comparator (needed for `get-function` value)
Original file line number Diff line number Diff line change @@ -54,12 +54,7 @@ namespace Sass {
54
54
// They also don't allow any supports or media queries.
55
55
class IncludeImport final : public ImportBase, public ModRule
56
56
{
57
- private:
58
- ADD_PROPERTY (bool , wasExported33);
59
57
public:
60
-
61
- const sass::vector<ResolvedImport>* candidates22 = nullptr ;
62
-
63
58
IncludeImport (const SourceSpan& pstate,
64
59
const sass::string& prev,
65
60
const sass::string& url,
Original file line number Diff line number Diff line change @@ -196,13 +196,15 @@ namespace Sass {
196
196
public:
197
197
198
198
// Value copy constructor
199
- Statement (const SourceSpan& pstate)
200
- : AstNode(pstate)
199
+ Statement (const SourceSpan& pstate) :
200
+ AstNode (pstate),
201
+ tabs_ (0 )
201
202
{}
202
203
203
204
// Value move constructor
204
- Statement (SourceSpan&& pstate)
205
- : AstNode(std::move(pstate))
205
+ Statement (SourceSpan&& pstate) :
206
+ AstNode (std::move(pstate)),
207
+ tabs_ (0 )
206
208
{}
207
209
208
210
// Copy constructor
Original file line number Diff line number Diff line change @@ -304,7 +304,7 @@ namespace Sass {
304
304
if (isIndented () && styles->empty ()) {
305
305
compiler.addWarning (
306
306
" This selector doesn't have any properties and won't be rendered." ,
307
- itpl->pstate ());
307
+ itpl ? itpl ->pstate () : SourceSpan{} );
308
308
}
309
309
310
310
return styles.detach ();
Original file line number Diff line number Diff line change @@ -96,7 +96,7 @@ namespace Sass {
96
96
{
97
97
if (out.srcmap ) {
98
98
Offset size (out.srcmap ->position );
99
- for (Mapping mapping : out.srcmap ->mappings ) {
99
+ for (const Mapping& mapping : out.srcmap ->mappings ) {
100
100
if (mapping.target .line > size.line ) {
101
101
throw (std::runtime_error (" prepend sourcemap has illegal line" ));
102
102
}
You can’t perform that action at this time.
0 commit comments