Skip to content

Commit 5ee57df

Browse files
committed
Make meta.apply() an AsyncBuiltInCallable
1 parent 1fc740d commit 5ee57df

File tree

4 files changed

+6
-3
lines changed

4 files changed

+6
-3
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111

1212
* Provide official releases for musl LibC and for Android.
1313

14+
* Don't crash when running `meta.apply()` in asynchronous mode.
15+
1416
### JS API
1517

1618
* Fix a bug where certain exceptions could produce `SourceSpan`s that didn't

lib/src/visitor/async_evaluate.dart

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -545,7 +545,8 @@ final class _EvaluateVisitor
545545
namesInErrors: true);
546546
_assertConfigurationIsEmpty(configuration, nameInError: true);
547547
}, url: "sass:meta"),
548-
BuiltInCallable.mixin("apply", r"$mixin, $args...", (arguments) async {
548+
AsyncBuiltInCallable.mixin("apply", r"$mixin, $args...",
549+
(arguments) async {
549550
var mixin = arguments[0];
550551
var args = arguments[1] as SassArgumentList;
551552

lib/src/visitor/evaluate.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// DO NOT EDIT. This file was generated from async_evaluate.dart.
66
// See tool/grind/synchronize.dart for details.
77
//
8-
// Checksum: 58ef9912c6a9d9cfe9c3f5d991f625ab1a627e7a
8+
// Checksum: 71dcf1747eb45036d3c1b5b57bd0cd5dbe6b8e14
99
//
1010
// ignore_for_file: unused_import
1111

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.69.6-dev
2+
version: 1.69.6
33
description: A Sass implementation in Dart.
44
homepage: https://github.com/sass/dart-sass
55

0 commit comments

Comments
 (0)