Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix custom property parsing in plain CSS #1108

Merged
merged 4 commits into from
Oct 7, 2020
Merged

Fix custom property parsing in plain CSS #1108

merged 4 commits into from
Oct 7, 2020

Conversation

nex3
Copy link
Contributor

@nex3 nex3 commented Oct 7, 2020

This reverts commit bdef3ac. It turns
out that Dart 2.10 was not the cause of #1104.
@nex3 nex3 requested a review from Awjin October 7, 2020 21:50
lib/src/ast/css/modifiable/declaration.dart Outdated Show resolved Hide resolved
@@ -503,8 +503,11 @@ abstract class StylesheetParser extends Parser {
/// This is only used in contexts where declarations are allowed but style
/// rules are not, such as nested declarations. Otherwise,
/// [_declarationOrStyleRule] is used instead.
@protected
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this no longer apply?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure why it was there in the first place—the method is private, so it can't be referenced from subclasses anyway (unless those subclasses are in the same file which they aren't).

Co-authored-by: Awjin Ahn <[email protected]>
@nex3 nex3 merged commit 8e35a44 into master Oct 7, 2020
@nex3 nex3 deleted the fix-type-check branch October 7, 2020 23:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

webpack builds using sass-loader are failing on updating to [email protected]
2 participants