mirror of
https://github.com/danog/dart-sass.git
synced 2024-11-30 04:39:03 +01:00
Fix some hints.
This commit is contained in:
parent
25f625af13
commit
2b120f005d
@ -50,6 +50,7 @@ class PseudoSelector extends SimpleSelector {
|
||||
|
||||
result.add(simple);
|
||||
}
|
||||
if (!addedThis) result.add(this);
|
||||
|
||||
return result;
|
||||
}
|
||||
|
@ -3,7 +3,6 @@
|
||||
// https://opensource.org/licenses/MIT.
|
||||
|
||||
import '../../extend/functions.dart';
|
||||
import '../../utils.dart';
|
||||
import '../selector.dart';
|
||||
|
||||
class UniversalSelector extends SimpleSelector {
|
||||
|
@ -9,7 +9,6 @@ import 'package:collection/collection.dart';
|
||||
import 'package:source_span/source_span.dart';
|
||||
|
||||
import '../ast/css/node.dart';
|
||||
import '../ast/sass/expression.dart';
|
||||
import '../ast/selector.dart';
|
||||
import '../utils.dart';
|
||||
import 'functions.dart';
|
||||
@ -28,7 +27,7 @@ class Extender {
|
||||
CssStyleRule addSelector(CssValue<SelectorList> selectorValue,
|
||||
{FileSpan span}) {
|
||||
var selector = selectorValue.value;
|
||||
for (var complex in selector.value.components) {
|
||||
for (var complex in selector.components) {
|
||||
for (var component in complex.components) {
|
||||
if (component is CompoundSelector) {
|
||||
for (var simple in component.components) {
|
||||
|
@ -10,7 +10,6 @@ import 'package:collection/collection.dart';
|
||||
import 'package:source_span/source_span.dart';
|
||||
|
||||
import 'ast/node.dart';
|
||||
import 'ast/selector.dart';
|
||||
import 'value/number.dart';
|
||||
|
||||
const _epsilon = 1 / (10 * SassNumber.precision);
|
||||
|
@ -8,7 +8,6 @@ import '../../ast/css/node.dart';
|
||||
import '../../util/character.dart';
|
||||
import '../../value.dart';
|
||||
import '../css.dart';
|
||||
import '../../parser.dart';
|
||||
|
||||
String toCss(CssNode node) {
|
||||
var visitor = new _SerializeCssVisitor();
|
||||
|
Loading…
Reference in New Issue
Block a user