add TODO to interpolated_ident_body

This commit is contained in:
ConnorSkees 2020-04-21 02:17:11 -04:00
parent 716cb49991
commit cdfd89cd75

View File

@ -67,8 +67,10 @@ fn interpolated_ident_body<I: Iterator<Item = Token>>(
buf.push_str(&escape(toks, false)?); buf.push_str(&escape(toks, false)?);
} else if tok.kind == '#' { } else if tok.kind == '#' {
toks.next(); toks.next();
// TODO: peekmore
let next = toks.next().unwrap(); let next = toks.next().unwrap();
if next.kind == '{' { if next.kind == '{' {
// TODO: if ident, interpolate literally
let interpolation = parse_interpolation(toks, scope, super_selector)?; let interpolation = parse_interpolation(toks, scope, super_selector)?;
buf.push_str(&interpolation.node.to_css_string(interpolation.span)?); buf.push_str(&interpolation.node.to_css_string(interpolation.span)?);
} }