You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We will get some other error when checking bounds in PostTyper,
unless we get a failure in Typer which might produce questionable errors. Having
a warning here might be better than nothing.
```scala
-- Warning: tests/neg/i4721.scala:2:39 -----------------------------------------
2 | def main(args: Array[String]):Unit = m(1) // error
| ^
| Unsatisfiable type parameter constraints in polymorphic application
-- [E007] Type Mismatch Error: tests/neg/i4721.scala:2:41 ----------------------
2 | def main(args: Array[String]):Unit = m(1) // error
| ^
| found: Int(1)
| required: String
|
one warning found
one error found
```
0 commit comments