summaryrefslogblamecommitdiff
path: root/test/files/pos/t1782/Test_1.scala
blob: 6467a74c297468f72bb220091fc574c6b814afa8 (plain) (tree)
1
2
3
4
5
6
7
8
9
10







                                 

                                         

          
                           

                           
 
@ImplementedBy(classOf[Provider])
trait Service {
  def someMethod()
}

class Provider
    extends Service
{
  // test enumeration java annotations
  @Ann(Days.Friday) def someMethod() = ()

  // #2103
  @scala.beans.BeanProperty
  @Ann(value = Days.Sunday)
  val t2103 = "test"
}