Skip to content

Huge error message and compilation times for a one-liner #7752

Description

@scabug

Thanks to Matthew Farwell for minimizing and sending me this issue. It looks particularly ugly inside the IDE, but it's not specific.

The following file fails compilation after 42 seconds with a 176KB error message:

package foobar;

import org.scalatest.prop.TableDrivenPropertyChecks._

class PresentationCompilerTest {
  def foobar() = Table((1))
}

It uses scalatest. Use the following build.sbt for 2.11.0-M4:

scalaVersion := "2.11.0-M4"

libraryDependencies += "org.scalatest" %% "scalatest" % "2.0.M6-SNAP35" cross CrossVersion.full

Same outcome with 2.10.2

Metadata

Metadata

Assignees

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions