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

false positive in possible string interpolation warning

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: Scala 2.11.0
    • Fix Version/s: Backlog
    • Component/s: Compiler (Misc)
    • Labels:
      None

      Description

      In the following case no warning should be shown:

      scala> """ s"${fo}" """
      <console>:8: warning: That looks like an interpolated expression! Did you forget the interpolator?
             """ s"${fo}" """
             ^
      res0: String = " s"${fo}" "
      
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                antoras Simon Schäfer
              • Votes:
                2 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated: