@@ -866,11 +866,11 @@ void filterOperators(Set<InterfaceType> allTypes) {
866
866
}
867
867
}
868
868
869
- // Filters methods based on a manually maintained blacklist .
869
+ // Filters methods based on a manually maintained exclude list .
870
870
//
871
- // Blacklisted methods should be associated with an issue number so they can be
871
+ // Excluded methods should be associated with an issue number so they can be
872
872
// re-enabled after the issue is resolved.
873
- bool isBlacklistedMethod (InterfaceType tp, MethodElement method) {
873
+ bool isExcludedMethod (InterfaceType tp, MethodElement method) {
874
874
// TODO(bkonyi): Enable operator / for these types after we resolve
875
875
// https://github.com/dart-lang/sdk/issues/39890
876
876
if (((tp.displayName == 'Float32x4' ) && (method.name == '/' )) ||
@@ -888,8 +888,8 @@ bool isBlacklistedMethod(InterfaceType tp, MethodElement method) {
888
888
// Does not recurse into interfaces and superclasses of tp.
889
889
void getOperatorsForTyp (String typName, InterfaceType tp, fromLiteral) {
890
890
for (MethodElement method in tp.methods) {
891
- // If the method is manually blacklisted , skip it.
892
- if (isBlacklistedMethod (tp, method)) continue ;
891
+ // If the method is manually excluded , skip it.
892
+ if (isExcludedMethod (tp, method)) continue ;
893
893
894
894
// Detect whether tp can be parsed from a literal (dartfuzz.dart can
895
895
// already handle that).
@@ -1035,7 +1035,7 @@ bool shouldFilterConstructor(InterfaceType tp, ConstructorElement cons) {
1035
1035
if (cons.name.startsWith ('_' )) {
1036
1036
return true ;
1037
1037
}
1038
- // Constructor blacklist
1038
+ // Constructor exclude list
1039
1039
// TODO(bkonyi): Enable Float32x4.fromInt32x4Bits after we resolve
1040
1040
// https://github.com/dart-lang/sdk/issues/39890
1041
1041
if ((tp.displayName == 'Float32x4' ) && (cons.name == 'fromInt32x4Bits' )) {
0 commit comments