Open
Description
Compiler version
Minimized example
trait Equatable[T]
type Foo[T: Equatable]
Output Error/Warning message
-- [E040] Syntax Error: test.scala:3:10 ----------------------------------------
3 |type Foo[T: Equatable]
| ^
| ']' expected, but ':' found
1 error found
Why this Error/Warning was not helpful
An error message mentioning that context bounds are not allowed is much useful.
Suggested improvement
See above