Skip to content

Commit

Permalink
KEEP #4, minor:
Browse files Browse the repository at this point in the history
- add kotlin.SinceKotlin to the list of standard annotations that should be applicable to type aliases;
- make related text a bit more general.
  • Loading branch information
dnpetrov committed Oct 4, 2016
1 parent e747ee4 commit a124bb4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion proposals/type-aliases.md
Original file line number Diff line number Diff line change
Expand Up @@ -587,7 +587,7 @@ In kotlin.annotation.AnnotationTarget:
In JVM, annotations for type aliases are written on a special synthetic method (similar to annotations on properties).
Standard annotations `kotlin.Deprecated` and `kotlin.Suppress` are applicable to type aliases:
Standard language annotations for declarations (`kotlin.Deprecated`, `kotlin.SinceKotlin`, `kotlin.Suppress`, etc.) are applicable to type aliases:
```
@Deprecated("For some good reason")
typealias Str = String
Expand Down

0 comments on commit a124bb4

Please sign in to comment.