Skip to content

Commit 3e6721e

Browse files
authored
Fix new static warnings with Dart 3.3 (#2173)
1 parent 2cab33e commit 3e6721e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/src/js/compile.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ List<String>? _normalizeNonCanonicalSchemes(Object? schemes) =>
250250
};
251251

252252
/// Implements the simplification algorithm for custom function return `Value`s.
253-
/// {@link https://github.com/sass/sass/blob/main/spec/types/calculation.md#simplifying-a-calculationvalue}
253+
/// See https://github.com/sass/sass/blob/main/spec/types/calculation.md#simplifying-a-calculationvalue
254254
Value _simplifyValue(Value value) => switch (value) {
255255
SassCalculation() => switch ((
256256
// Match against...

lib/src/util/box.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ class Box<T> {
1313

1414
Box._(this._inner);
1515

16-
bool operator ==(Object? other) => other is Box<T> && other._inner == _inner;
16+
bool operator ==(Object other) => other is Box<T> && other._inner == _inner;
1717

1818
int get hashCode => _inner.hashCode;
1919
}

0 commit comments

Comments
 (0)