Fix argument names in str-slice errors (#1303)

This commit is contained in:
Christophe Coevoet 2021-05-06 02:02:14 +02:00 committed by GitHub
parent 574e76326e
commit be2d3e848a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 3 deletions

View File

@ -1,3 +1,7 @@
## 1.32.13
* Use the proper parameter names in error messages about `string.slice`
## 1.32.12
* Fix a bug that disallowed more than one module from extending the same

View File

@ -93,8 +93,8 @@ final _slice =
var string = arguments[0].assertString("string");
var start = arguments[1].assertNumber("start-at");
var end = arguments[2].assertNumber("end-at");
start.assertNoUnits("start");
end.assertNoUnits("end");
start.assertNoUnits("start-at");
end.assertNoUnits("end-at");
var lengthInCodepoints = string.sassLength;

View File

@ -1,5 +1,5 @@
name: sass
version: 1.32.12
version: 1.32.13-dev
description: A Sass implementation in Dart.
author: Sass Team
homepage: https://github.com/sass/dart-sass