Details

      Description

      object Test {
        // parses
        def f1 = {
          import scala._;
        }
        // b.scala:7: error: ';' expected but '}' found.
        //   }
        //   ^
        // one error found
        def f2 = {
          import scala._
        }
        
        // parses
        def f3 = {
          import scala._
          5
        }
      }
      

        Activity

        Hide
        Paul Phillips added a comment -

        See also SI-4785, which may or may not be the same bug.

        Show
        Paul Phillips added a comment - See also SI-4785 , which may or may not be the same bug.
        Hide
        James Iry added a comment -

        Still reproducible in 2.10.x

        Show
        James Iry added a comment - Still reproducible in 2.10.x
        Show
        A. P. Marki added a comment - https://github.com/scala/scala/pull/2899

          People

          • Assignee:
            A. P. Marki
            Reporter:
            Paul Phillips
          • Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development