Skip to content

Commit

Permalink
remove unused import, fix the build
Browse files Browse the repository at this point in the history
  • Loading branch information
lrytz committed Oct 28, 2020
1 parent 69141e3 commit 0563cc1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 0 additions & 1 deletion src/compiler/scala/tools/nsc/transform/Constructors.scala
Original file line number Diff line number Diff line change
Expand Up @@ -474,7 +474,6 @@ abstract class Constructors extends Statics with Transform with TypingTransforme

// The constructor parameter corresponding to an accessor
def parameter(acc: Symbol): Symbol = {
import scala.util.Try
//works around the edge case where unexpandedName over-unexpands shenanigans like literal $$ or `$#`
def unexpanded = parameterNamed(acc.unexpandedName.getterName)
def expanded = parameterNamed(acc.getterName)
Expand Down
4 changes: 3 additions & 1 deletion test/tasty/test/scala/tools/tastytest/TastyTestJUnit.scala
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
package scala.tools.tastytest

import org.junit.{Test => test}
import org.junit.{Ignore, Test => test}
import org.junit.Assert._

import scala.util.Properties

class TastyTestJUnit {

@Ignore // https://github.com/scala/scala/pull/9280#issuecomment-717804739
@test def run(): Unit = TastyTest.runSuite(
src = "run",
srcRoot = assertPropIsSet(propSrc),
Expand Down Expand Up @@ -34,6 +35,7 @@ class TastyTestJUnit {
additionalDottySettings = Nil
).get

@Ignore // https://github.com/scala/scala/pull/9280#issuecomment-717804739
@test def neg(): Unit = TastyTest.negSuite(
src = "neg",
srcRoot = assertPropIsSet(propSrc),
Expand Down

0 comments on commit 0563cc1

Please sign in to comment.