Skip to content

Commit 5eb66fc

Browse files
authored
Fixes typos (#1879)
1 parent 6310dfb commit 5eb66fc

File tree

9 files changed

+10
-10
lines changed

9 files changed

+10
-10
lines changed

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ repository contains language tests that are shared among the main Sass
8686
implementations. Any new feature should be thoroughly tested there, and any bug
8787
should have a regression test added.
8888

89-
[sass-spec]: http://github.com/sass/sass-spec
89+
[sass-spec]: https://github.com/sass/sass-spec
9090

9191
To create a new spec:
9292

bin/sass.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ Future<void> main(List<String> args) async {
8383
options.trace ? getTrace(error) ?? stackTrace : null);
8484

8585
// Exit code 65 indicates invalid data per
86-
// http://www.freebsd.org/cgi/man.cgi?query=sysexits.
86+
// https://www.freebsd.org/cgi/man.cgi?query=sysexits.
8787
//
8888
// We let exitCode 66 take precedence for deterministic behavior.
8989
if (exitCode != 66) exitCode = 65;

lib/src/parse/parser.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -626,7 +626,7 @@ class Parser {
626626
return result;
627627
}
628628

629-
/// Consumes [text] as an identifer, but doesn't verify whether there's
629+
/// Consumes [text] as an identifier, but doesn't verify whether there's
630630
/// additional identifier text afterwards.
631631
///
632632
/// Returns `true` if the full [text] is consumed and `false` otherwise, but

lib/src/parse/stylesheet.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1715,7 +1715,7 @@ abstract class StylesheetParser extends Parser {
17151715
var wasInParentheses = _inParentheses;
17161716

17171717
// We use the convention below of referring to nullable variables that are
1718-
// shared across anonymous functions in this method with a trailling
1718+
// shared across anonymous functions in this method with a trailing
17191719
// underscore. This allows us to copy them to non-underscored local
17201720
// variables to make it easier for Dart's type system to reason about their
17211721
// local nullability.

lib/src/value/color.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ class SassColor extends Value {
293293
}
294294

295295
/// An algorithm from the CSS3 spec:
296-
/// http://www.w3.org/TR/css3-color/#hsl-color.
296+
/// https://www.w3.org/TR/css3-color/#hsl-color.
297297
static double _hueToRgb(double m1, double m2, double hue) {
298298
if (hue < 0) hue += 1;
299299
if (hue > 1) hue -= 1;

lib/src/value/number.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ const _conversions = {
143143
},
144144
};
145145

146-
/// A map from human-readable names of unit types to the convertable units that
146+
/// A map from human-readable names of unit types to the convertible units that
147147
/// fall into those types.
148148
const _unitsByType = {
149149
"length": ["in", "cm", "pc", "mm", "q", "pt", "px"],

lib/src/visitor/async_evaluate.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3611,7 +3611,7 @@ class _EvaluationContext implements EvaluationContext {
36113611
final _EvaluateVisitor _visitor;
36123612

36133613
/// The AST node whose span should be used for [warn] if no other span is
3614-
/// avaiable.
3614+
/// available.
36153615
final AstNode _defaultWarnNodeWithSpan;
36163616

36173617
_EvaluationContext(this._visitor, this._defaultWarnNodeWithSpan);

lib/src/visitor/evaluate.dart

Lines changed: 2 additions & 2 deletions
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: a8472983eeb4c8348befed4953326f285b68c4a8
8+
// Checksum: d5cb0fe933051782cbfb79ee3d65bc4353471f11
99
//
1010
// ignore_for_file: unused_import
1111

@@ -3548,7 +3548,7 @@ class _EvaluationContext implements EvaluationContext {
35483548
final _EvaluateVisitor _visitor;
35493549

35503550
/// The AST node whose span should be used for [warn] if no other span is
3551-
/// avaiable.
3551+
/// available.
35523552
final AstNode _defaultWarnNodeWithSpan;
35533553

35543554
_EvaluationContext(this._visitor, this._defaultWarnNodeWithSpan);

lib/src/visitor/find_dependencies.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ class _FindDependenciesVisitor with RecursiveStatementVisitor {
8080

8181
/// A struct of different types of dependencies a Sass stylesheet can contain.
8282
class DependencyReport {
83-
/// An unmodifiable set of all `@use`d URLs in the stylesheet (exluding
83+
/// An unmodifiable set of all `@use`d URLs in the stylesheet (excluding
8484
/// built-in modules).
8585
final Set<Uri> uses;
8686

0 commit comments

Comments
 (0)