Skip to content

Commit 9e2d250

Browse files
committed
Turn off "no wildcards in constraint" check
1 parent 5ed5ef8 commit 9e2d250

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/src/dotty/tools/dotc/config/Config.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ object Config {
3535
inline val checkConstraintsPropagated = false
3636

3737
/** Check that constraint bounds do not contain wildcard types */
38-
inline val checkNoWildcardsInConstraint = true
38+
inline val checkNoWildcardsInConstraint = false
3939

4040
/** If a constraint is over a type lambda `tl` and `tvar` is one of
4141
* the type variables associated with `tl` in the constraint, check

0 commit comments

Comments
 (0)