mirror of https://github.com/sbt/sbt.git
forgot to add test
This commit is contained in:
parent
24dfb69400
commit
43600cd3f2
|
|
@ -0,0 +1,3 @@
|
|||
package testCase
|
||||
|
||||
case class FooUser(@Foo a: Int)
|
||||
|
|
@ -0,0 +1,10 @@
|
|||
package testCase;
|
||||
|
||||
import java.lang.annotation.Retention;
|
||||
import java.lang.annotation.RetentionPolicy;
|
||||
|
||||
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
public @interface JFoo {
|
||||
|
||||
}
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
|
||||
import annotation.target.field
|
||||
|
||||
|
||||
package object testCase {
|
||||
type Foo = JFoo @field;
|
||||
}
|
||||
|
|
@ -0,0 +1 @@
|
|||
> compile
|
||||
Loading…
Reference in New Issue