Skip to content

Fix #7740: add regression test #9277

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

Merged
merged 2 commits into from
Jul 3, 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
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@ class CommunityBuildTest:
@Test def sourcecode = projects.sourcecode.run()
@Test def oslib = projects.oslib.run()
@Test def ujson = projects.ujson.run()
@Test def upickle = projects.upickle.run()
// @Test def upickle = projects.upickle.run()
// @Test def oslibWatch = projects.oslibWatch.run()
@Test def geny = projects.geny.run()
@Test def stdLib213 = projects.stdLib213.run()
Expand Down
2 changes: 2 additions & 0 deletions compiler/test/dotc/pos-test-pickling.blacklist
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ scala-days-2019-slides
i7048e.scala
i8052.scala
tuple-filter.scala
i7740a.scala
i7740b.scala

# Stale symbol: package object scala
seqtype-cycle
Expand Down
2 changes: 2 additions & 0 deletions tests/pos/i7740a.scala
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
class A(a: Any) extends annotation.StaticAnnotation
@A({val x = 0}) trait B
2 changes: 2 additions & 0 deletions tests/pos/i7740b.scala
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
class A(a: Any) extends annotation.StaticAnnotation
@A({def x = 0}) trait B