diff options
author | Enno Runne <enno.runne@baymarkets.com> | 2017-02-20 15:02:39 +0100 |
---|---|---|
committer | Felix Mulder <felix.mulder@gmail.com> | 2017-02-20 16:50:09 +0100 |
commit | 6b522cc16ee61b51c5b0c5ff4df3632c2d84e801 (patch) | |
tree | 1ac2e53a51bb60b8ab7bd7e554fa071f0252f7df /compiler/src/dotty/tools/dotc/reporting/diagnostic/messages.scala | |
parent | 4352a4a97817edfbd4e936258050c17bfff187c3 (diff) | |
download | dotty-6b522cc16ee61b51c5b0c5ff4df3632c2d84e801.tar.gz dotty-6b522cc16ee61b51c5b0c5ff4df3632c2d84e801.tar.bz2 dotty-6b522cc16ee61b51c5b0c5ff4df3632c2d84e801.zip |
Use Message ID enum
Diffstat (limited to 'compiler/src/dotty/tools/dotc/reporting/diagnostic/messages.scala')
-rw-r--r-- | compiler/src/dotty/tools/dotc/reporting/diagnostic/messages.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/src/dotty/tools/dotc/reporting/diagnostic/messages.scala b/compiler/src/dotty/tools/dotc/reporting/diagnostic/messages.scala index ed1c5642f..7fccebef9 100644 --- a/compiler/src/dotty/tools/dotc/reporting/diagnostic/messages.scala +++ b/compiler/src/dotty/tools/dotc/reporting/diagnostic/messages.scala @@ -1094,7 +1094,7 @@ object messages { } case class MixedLeftAndRightAssociativeOps(op1: Name, op2: Name, op2LeftAssoc: Boolean)(implicit ctx: Context) - extends Message(41) { + extends Message(MixedLeftAndRightAssociativeOpsID) { val kind = "Syntax" val op1Asso = if (op2LeftAssoc) "which is right-associative" else "which is left-associative" val op2Asso = if (op2LeftAssoc) "which is left-associative" else "which is right-associative" |