Skip to content

Commit 677d05a

Browse files
committed
Fix wrong use of is
1 parent 3c1e98e commit 677d05a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkgs/sass_language_services/lib/src/features/go_to_definition/scoped_symbols.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ class ScopedSymbols {
119119
}
120120

121121
StylesheetDocumentSymbol? findSymbolFromNode(sass.AstNode node) {
122-
if (node.runtimeType is sass.Interpolation) {
122+
if (node is sass.Interpolation) {
123123
return null;
124124
}
125125

0 commit comments

Comments
 (0)