Skip to content

Commit cd74b26

Browse files
committed
Remove legacy annotations
1 parent 104055e commit cd74b26

File tree

1 file changed

+0
-18
lines changed
  • Dsl/src/main/scala/com/thoughtworks/dsl

1 file changed

+0
-18
lines changed

Dsl/src/main/scala/com/thoughtworks/dsl/Dsl.scala

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -125,24 +125,6 @@ object Dsl extends LowPriorityDsl0 {
125125

126126
private[dsl] type !![R, +A] = (A => R) => R
127127

128-
@deprecated("Use bangnotation.reset instead", "Dsl.scala 2.0.0")
129-
private[dsl] /* sealed */ trait ResetAnnotation extends Annotation with StaticAnnotation
130-
@deprecated("Use bangnotation.reset instead", "Dsl.scala 2.0.0")
131-
private[dsl] final class nonTypeConstraintReset extends ResetAnnotation with StaticAnnotation
132-
133-
/** An annotation to explicitly perform reset control operator on a code block.
134-
*
135-
* @note
136-
* This annotation can be automatically added if [[compilerplugins.ResetEverywhere ResetEverywhere]] compiler
137-
* plug-in is enabled.
138-
*/
139-
@deprecated("Use bangnotation.reset instead", "Dsl.scala 2.0.0")
140-
final class reset extends ResetAnnotation with StaticAnnotation with TypeConstraint
141-
142-
/** An annotation to mark a method is a shift control operator. */
143-
@deprecated("Use bangnotation.reset instead", "Dsl.scala 2.0.0")
144-
final class shift extends StaticAnnotation
145-
146128
def apply[Keyword, Domain, Value](implicit typeClass: Dsl[Keyword, Domain, Value]): Dsl[Keyword, Domain, Value] =
147129
typeClass
148130

0 commit comments

Comments
 (0)