mirror of
https://github.com/danog/dart-sass.git
synced 2024-11-26 20:24:42 +01:00
Fix analysis.
This commit is contained in:
parent
4f4188fd12
commit
e38d290191
@ -213,7 +213,8 @@ bool _selectorPseudoIsSuperselector(PseudoSelector pseudo1,
|
||||
return pseudos.any((pseudo2) {
|
||||
return pseudo1.selector.isSuperselector(pseudo2.selector);
|
||||
}) || pseudo1.selector.components.any((complex1) {
|
||||
var complex2 = (parents?.toList() ?? [])..add(compound2);
|
||||
var complex2 = (parents?.toList() ?? <ComplexSelectorComponent>[])
|
||||
..add(compound2);
|
||||
return complexIsSuperselector(complex1.components, complex2);
|
||||
});
|
||||
|
||||
|
@ -58,7 +58,7 @@ List/*<T>*/ longestCommonSubsequence/*<T>*/(List/*<T>*/ list1,
|
||||
list1.length + 1, (_) => new List.filled(list2.length + 1, 0),
|
||||
growable: false);
|
||||
|
||||
var selections = new List.generate(
|
||||
var selections = new List<List/*<T>*/>.generate(
|
||||
list1.length, (_) => new List/*<T>*/(list2.length),
|
||||
growable: false);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user