minor cleanup
This commit is contained in:
parent
017bc971b4
commit
eb7fe52074
@ -183,6 +183,7 @@ impl Function {
|
||||
}
|
||||
}
|
||||
Stmt::AtRule(AtRule::Each(..)) => todo!("@each in @function"),
|
||||
// todo: multiline comments
|
||||
_ => return Err(("This at-rule is not allowed here.", stmt.span).into()),
|
||||
}
|
||||
}
|
||||
|
@ -512,9 +512,9 @@ test!(
|
||||
"\\61 {\n color: red;\n}\n",
|
||||
"a {\n color: red;\n}\n"
|
||||
);
|
||||
/// this checks for a bug in which the selector
|
||||
/// contents get longer as a result of interpolation,
|
||||
/// which interferes with span information.
|
||||
// this checks for a bug in which the selector
|
||||
// contents get longer as a result of interpolation,
|
||||
// which interferes with span information.
|
||||
test!(
|
||||
selector_span_gets_larger,
|
||||
"$a: aaaaaaaaaaa;\n\n#{$a} {\n color: foo;\n}\n",
|
||||
|
Loading…
x
Reference in New Issue
Block a user