Skip to content

Commit be2d3e8

Browse files
authored
Fix argument names in str-slice errors (#1303)
1 parent 574e763 commit be2d3e8

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 1.32.13
2+
3+
* Use the proper parameter names in error messages about `string.slice`
4+
15
## 1.32.12
26

37
* Fix a bug that disallowed more than one module from extending the same

lib/src/functions/string.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,8 @@ final _slice =
9393
var string = arguments[0].assertString("string");
9494
var start = arguments[1].assertNumber("start-at");
9595
var end = arguments[2].assertNumber("end-at");
96-
start.assertNoUnits("start");
97-
end.assertNoUnits("end");
96+
start.assertNoUnits("start-at");
97+
end.assertNoUnits("end-at");
9898

9999
var lengthInCodepoints = string.sassLength;
100100

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: sass
2-
version: 1.32.12
2+
version: 1.32.13-dev
33
description: A Sass implementation in Dart.
44
author: Sass Team
55
homepage: https://github.com/sass/dart-sass

0 commit comments

Comments
 (0)