File tree 4 files changed +12
-2
lines changed
4 files changed +12
-2
lines changed Original file line number Diff line number Diff line change
1
+ ## 1.4.3
2
+
3
+ ### Division Migrator
4
+
5
+ * Fix a crash when encountering parentheses in an expression that's definitely
6
+ not division.
7
+
1
8
## 1.4.2
2
9
3
10
### Division Migrator
Original file line number Diff line number Diff line change @@ -378,7 +378,9 @@ class _DivisionMigrationVisitor extends MigrationVisitor {
378
378
379
379
/// Returns true if [node] contains an interpolation.
380
380
bool _containsInterpolation (Expression node) {
381
- if (node is ParenthesizedExpression ) return _containsInterpolation (node);
381
+ if (node is ParenthesizedExpression ) {
382
+ return _containsInterpolation (node.expression);
383
+ }
382
384
if (node is BinaryOperationExpression ) {
383
385
return _containsInterpolation (node.left) ||
384
386
_containsInterpolation (node.right);
Original file line number Diff line number Diff line change 1
1
name : sass_migrator
2
- version : 1.4.2
2
+ version : 1.4.3
3
3
description : A tool for running migrations on Sass files
4
4
author :
Jennifer Thakar <[email protected] >
5
5
homepage : https://github.com/sass/migrator
Original file line number Diff line number Diff line change 6
6
e: (bold 6px/3px sans-serif);
7
7
f: 6 / three;
8
8
g: rgb(10 20 30 / 0.5);
9
+ h: (2 + 3) / text;
9
10
}
10
11
11
12
<==> log.txt
You can’t perform that action at this time.
0 commit comments