mirror of
https://github.com/danog/dart-sass.git
synced 2024-11-30 04:39:03 +01:00
Reformat with the latest formatter
This commit is contained in:
parent
5ed3bbc9c7
commit
7c9d63a4dc
@ -11,7 +11,7 @@ import '../value.dart';
|
||||
import 'async.dart';
|
||||
|
||||
/// An [AsyncBuiltInCallable]'s callback.
|
||||
typedef FutureOr<Value> _Callback(List<Value> arguments);
|
||||
typedef _Callback = FutureOr<Value> Function(List<Value> arguments);
|
||||
|
||||
/// A callable defined in Dart code.
|
||||
///
|
||||
|
@ -9,7 +9,7 @@ import '../callable.dart';
|
||||
import '../value.dart';
|
||||
import 'async_built_in.dart';
|
||||
|
||||
typedef Value _Callback(List<Value> arguments);
|
||||
typedef _Callback = Value Function(List<Value> arguments);
|
||||
|
||||
/// A callable defined in Dart code.
|
||||
///
|
||||
|
@ -42,7 +42,7 @@ import 'interface/modifiable_css.dart';
|
||||
import 'interface/statement.dart';
|
||||
|
||||
/// A function that takes a callback with no arguments.
|
||||
typedef Future _ScopeCallback(Future callback());
|
||||
typedef _ScopeCallback = Future Function(Future Function() callback);
|
||||
|
||||
/// Converts [stylesheet] to a plain CSS tree.
|
||||
///
|
||||
|
@ -5,7 +5,7 @@
|
||||
// DO NOT EDIT. This file was generated from async_evaluate.dart.
|
||||
// See tool/grind/synchronize.dart for details.
|
||||
//
|
||||
// Checksum: ef520a902171c8d105ece12e7c84889e34f95d80
|
||||
// Checksum: c41c933bbae5af96a77e39cea8c4d7a4c86cb564
|
||||
//
|
||||
// ignore_for_file: unused_import
|
||||
|
||||
@ -51,7 +51,7 @@ import 'interface/modifiable_css.dart';
|
||||
import 'interface/statement.dart';
|
||||
|
||||
/// A function that takes a callback with no arguments.
|
||||
typedef void _ScopeCallback(void callback());
|
||||
typedef _ScopeCallback = void Function(void Function() callback);
|
||||
|
||||
/// Converts [stylesheet] to a plain CSS tree.
|
||||
///
|
||||
|
@ -808,7 +808,7 @@ void _expectMapMatches(
|
||||
|
||||
if (!entryIter.moveNext()) {
|
||||
fail('Missing mapping "$name", expected '
|
||||
'${_mapping(expectedSource, expectedTarget)}.\n' +
|
||||
'${_mapping(expectedSource, expectedTarget)}.\n' +
|
||||
actualMap());
|
||||
}
|
||||
|
||||
@ -818,7 +818,7 @@ void _expectMapMatches(
|
||||
expectedTarget.line != entry.target.line ||
|
||||
expectedTarget.column != entry.target.column) {
|
||||
fail('Mapping "$name" was ${_mapping(entry.source, entry.target)}, '
|
||||
'expected ${_mapping(expectedSource, expectedTarget)}.\n' +
|
||||
'expected ${_mapping(expectedSource, expectedTarget)}.\n' +
|
||||
actualMap());
|
||||
}
|
||||
}
|
||||
|
@ -46,14 +46,14 @@ String _releaseMessage() {
|
||||
"https://github.com/sass/dart-sass/blob/master/CHANGELOG.md#" +
|
||||
version.replaceAll(".", "");
|
||||
return "To install Dart Sass $version, download one of the packages above "
|
||||
"and [add it to your PATH](https://katiek2.github.io/path-doc/), or see "
|
||||
"[the Sass website](https://sass-lang.com/install) for full installation "
|
||||
"instructions.\n\n"
|
||||
"## Changes\n\n" +
|
||||
"and [add it to your PATH](https://katiek2.github.io/path-doc/), or "
|
||||
"see [the Sass website](https://sass-lang.com/install) for full "
|
||||
"installation instructions.\n\n"
|
||||
"## Changes\n\n" +
|
||||
_lastChangelogSection() +
|
||||
"\n\n"
|
||||
"See the [full changelog]($changelogUrl) for changes in earlier "
|
||||
"releases.";
|
||||
"See the [full changelog]($changelogUrl) for changes in earlier "
|
||||
"releases.";
|
||||
}
|
||||
|
||||
/// A regular expression that matches a Markdown code block.
|
||||
|
Loading…
Reference in New Issue
Block a user