Skip to content

Commit ee939f1

Browse files
committed
Test assertion
1 parent 802c5d7 commit ee939f1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
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 = false
38+
inline val checkNoWildcardsInConstraint = true
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
@@ -49,7 +49,7 @@ object Config {
4949
* compiling all of dotty together (source seems to be in GenBCode which
5050
* accesses javac's settings.)
5151
*
52-
* It is recommended to turn this option on only when chasing down
52+
* It is recommended to turn this option on only w zhen chasing down
5353
* a TypeParamRef instantiation error. See comment in Types.TypeVar.instantiate.
5454
*/
5555
inline val debugCheckConstraintsClosed = false

0 commit comments

Comments
 (0)