Skip to content

Commit 2dd9b70

Browse files
committed
Rename annotation source file
1 parent a7c6f7b commit 2dd9b70

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed
Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +0,0 @@
1-
package scala.annotation
2-
package unchecked
3-
4-
/** An annotation for mutable variables that are allowed to capture
5-
* the root capability `cap`. Allowing this is not capture safe since
6-
* it can cause leakage of capabilities from local scopes by assigning
7-
* values retaining such capabilties to the annotated variable in
8-
* an outer scope.
9-
*/
10-
class uncheckedCaptures extends StaticAnnotation
11-
12-
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
package scala.annotation
2+
package unchecked
3+
4+
/** An annotation for mutable variables that are allowed to capture
5+
* the root capability `cap`. Allowing this is not capture safe since
6+
* it can cause leakage of capabilities from local scopes by assigning
7+
* values retaining such capabilties to the annotated variable in
8+
* an outer scope.
9+
*/
10+
class uncheckedCaptures extends StaticAnnotation
11+
12+

0 commit comments

Comments
 (0)