Properly check for double-forwarded functions and mixins (#951)

See #946
See sass/sass#2820
This commit is contained in:
Natalie Weizenbaum 2020-02-10 16:30:00 -08:00 committed by GitHub
parent 5e644a36cd
commit 3e47570847
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 7 deletions

View File

@ -314,9 +314,9 @@ class AsyncEnvironment {
for (var name in smaller.keys) {
if (!larger.containsKey(name)) continue;
if (type == "variable" &&
newModule.variableIdentity(name) ==
oldModule.variableIdentity(name)) {
if (type == "variable"
? newModule.variableIdentity(name) == oldModule.variableIdentity(name)
: larger[name] == smaller[name]) {
continue;
}

View File

@ -5,7 +5,7 @@
// DO NOT EDIT. This file was generated from async_environment.dart.
// See tool/grind/synchronize.dart for details.
//
// Checksum: 90df4751419f38332128857f9e02d481cbd7e5a7
// Checksum: db31838dbc5c44989803274acb581263e98b488d
//
// ignore_for_file: unused_import
@ -321,9 +321,9 @@ class Environment {
for (var name in smaller.keys) {
if (!larger.containsKey(name)) continue;
if (type == "variable" &&
newModule.variableIdentity(name) ==
oldModule.variableIdentity(name)) {
if (type == "variable"
? newModule.variableIdentity(name) == oldModule.variableIdentity(name)
: larger[name] == smaller[name]) {
continue;
}