Skip to content

Fix kinds of a few errors #7654

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Dec 1, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ object messages {
pt: Type)
(implicit ctx: Context)
extends Message(AnonymousFunctionMissingParamTypeID) {
val kind: String = "Syntax"
val kind: String = "Type"

val msg: String = {
val ofFun =
Expand Down Expand Up @@ -2298,7 +2298,7 @@ object messages {
}
case class StableIdentPattern(tree: untpd.Tree, pt: Type)(implicit val ctx: Context)
extends Message(StableIdentPatternID) {
override def kind: String = "Syntax"
override def kind: String = "Type"
override def msg: String =
em"""Stable identifier required, but $tree found"""
override def explanation: String = ""
Expand Down Expand Up @@ -2392,7 +2392,7 @@ object messages {

case class IllegalCyclicTypeReference(sym: Symbol, where: String, lastChecked: Type)(implicit val ctx: Context)
extends Message(IllegalCyclicTypeReferenceID) {
val kind: String = "Type"
val kind: String = "Cyclic"
val msg: String = i"illegal cyclic type reference: ${where} ${hl(lastChecked.show)} of $sym refers back to the type itself"
val explanation: String = ""
}
Expand Down