Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove unused import, fix the build #9280

Merged
merged 1 commit into from
Oct 28, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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