Fixes typos (#1879)

This commit is contained in:
Andreas Deininger 2023-02-03 23:47:13 +01:00 committed by GitHub
parent 6310dfb129
commit 5eb66fc219
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
9 changed files with 10 additions and 10 deletions

View File

@ -86,7 +86,7 @@ repository contains language tests that are shared among the main Sass
implementations. Any new feature should be thoroughly tested there, and any bug
should have a regression test added.
[sass-spec]: http://github.com/sass/sass-spec
[sass-spec]: https://github.com/sass/sass-spec
To create a new spec:

View File

@ -83,7 +83,7 @@ Future<void> main(List<String> args) async {
options.trace ? getTrace(error) ?? stackTrace : null);
// Exit code 65 indicates invalid data per
// http://www.freebsd.org/cgi/man.cgi?query=sysexits.
// https://www.freebsd.org/cgi/man.cgi?query=sysexits.
//
// We let exitCode 66 take precedence for deterministic behavior.
if (exitCode != 66) exitCode = 65;

View File

@ -626,7 +626,7 @@ class Parser {
return result;
}
/// Consumes [text] as an identifer, but doesn't verify whether there's
/// Consumes [text] as an identifier, but doesn't verify whether there's
/// additional identifier text afterwards.
///
/// Returns `true` if the full [text] is consumed and `false` otherwise, but

View File

@ -1715,7 +1715,7 @@ abstract class StylesheetParser extends Parser {
var wasInParentheses = _inParentheses;
// We use the convention below of referring to nullable variables that are
// shared across anonymous functions in this method with a trailling
// shared across anonymous functions in this method with a trailing
// underscore. This allows us to copy them to non-underscored local
// variables to make it easier for Dart's type system to reason about their
// local nullability.

View File

@ -293,7 +293,7 @@ class SassColor extends Value {
}
/// An algorithm from the CSS3 spec:
/// http://www.w3.org/TR/css3-color/#hsl-color.
/// https://www.w3.org/TR/css3-color/#hsl-color.
static double _hueToRgb(double m1, double m2, double hue) {
if (hue < 0) hue += 1;
if (hue > 1) hue -= 1;

View File

@ -143,7 +143,7 @@ const _conversions = {
},
};
/// A map from human-readable names of unit types to the convertable units that
/// A map from human-readable names of unit types to the convertible units that
/// fall into those types.
const _unitsByType = {
"length": ["in", "cm", "pc", "mm", "q", "pt", "px"],

View File

@ -3611,7 +3611,7 @@ class _EvaluationContext implements EvaluationContext {
final _EvaluateVisitor _visitor;
/// The AST node whose span should be used for [warn] if no other span is
/// avaiable.
/// available.
final AstNode _defaultWarnNodeWithSpan;
_EvaluationContext(this._visitor, this._defaultWarnNodeWithSpan);

View File

@ -5,7 +5,7 @@
// DO NOT EDIT. This file was generated from async_evaluate.dart.
// See tool/grind/synchronize.dart for details.
//
// Checksum: a8472983eeb4c8348befed4953326f285b68c4a8
// Checksum: d5cb0fe933051782cbfb79ee3d65bc4353471f11
//
// ignore_for_file: unused_import
@ -3548,7 +3548,7 @@ class _EvaluationContext implements EvaluationContext {
final _EvaluateVisitor _visitor;
/// The AST node whose span should be used for [warn] if no other span is
/// avaiable.
/// available.
final AstNode _defaultWarnNodeWithSpan;
_EvaluationContext(this._visitor, this._defaultWarnNodeWithSpan);

View File

@ -80,7 +80,7 @@ class _FindDependenciesVisitor with RecursiveStatementVisitor {
/// A struct of different types of dependencies a Sass stylesheet can contain.
class DependencyReport {
/// An unmodifiable set of all `@use`d URLs in the stylesheet (exluding
/// An unmodifiable set of all `@use`d URLs in the stylesheet (excluding
/// built-in modules).
final Set<Uri> uses;