Skip to content

Commit

Permalink
Fixes typos (#1879)
Browse files Browse the repository at this point in the history
  • Loading branch information
deining authored Feb 3, 2023
1 parent 6310dfb commit 5eb66fc
Show file tree
Hide file tree
Showing 9 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down
2 changes: 1 addition & 1 deletion bin/sass.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion lib/src/parse/parser.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion lib/src/parse/stylesheet.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion lib/src/value/color.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion lib/src/value/number.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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"],
Expand Down
2 changes: 1 addition & 1 deletion lib/src/visitor/async_evaluate.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
4 changes: 2 additions & 2 deletions lib/src/visitor/evaluate.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion lib/src/visitor/find_dependencies.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 5eb66fc

Please sign in to comment.