Uploaded image for project: 'Scala Programming Language'
  1. Scala Programming Language
  2. SI-8456

Use of numbers in backquoted identifiers results in unintelligible repl errors

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: Scala 2.11.0-RC4
    • Fix Version/s: None
    • Component/s: Repl / Interpreter
    • Labels:
      None

      Description

      scala> val `1 + 1` = 1 + 1
      <console>:5: error: Invalid literal number
        lazy val $result = 1$u0020$plus$u00201
                                                                               ^
      <console>:10: error: Invalid literal number
       + "1 + 1: Int = " + scala.runtime.ScalaRunTime.replStringOf(1$u0020$plus$u00201, 1000)
                                                                                                                       ^
      <console>:13: error: ')' expected but '}' found.
        }
        ^
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                den_sh Denys Shabalin
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated: