-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Labels
SpreeSuitable for a future SpreeSuitable for a future Spreearea:parserarea:reportingError reporting including formatting, implicit suggestions, etcError reporting including formatting, implicit suggestions, etcbetter-errorsIssues concerned with improving confusing/unhelpful diagnostic messagesIssues concerned with improving confusing/unhelpful diagnostic messagesitype:enhancement
Milestone
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
Metadata
Metadata
Assignees
Labels
SpreeSuitable for a future SpreeSuitable for a future Spreearea:parserarea:reportingError reporting including formatting, implicit suggestions, etcError reporting including formatting, implicit suggestions, etcbetter-errorsIssues concerned with improving confusing/unhelpful diagnostic messagesIssues concerned with improving confusing/unhelpful diagnostic messagesitype:enhancement