File tree 3 files changed +4
-5
lines changed 3 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -82,9 +82,8 @@ object Utility extends AnyRef with parsing.TokenTests
82
82
case _ => n
83
83
}
84
84
85
- /** @deprecated a string might also be Atom(s) - define your own conversion
86
- */
87
- @ deprecated def view (s : String ): Text = Text (s)
85
+ @ deprecated(" a string might also be Atom(s) - define your own conversion" )
86
+ def view (s : String ): Text = Text (s)
88
87
89
88
/**
90
89
* Escapes the characters < > & and " from string.
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ object Test {
29
29
/** Check annotations to decide whether tpe1 <:< tpe2 */
30
30
def annotationsConform (tpe1 : Type , tpe2 : Type ): Boolean = {
31
31
32
- tpe1.attributes .forall(a1 => tpe2.attributes .forall(a2 => a1.atp <:< a2.atp))
32
+ tpe1.annotations .forall(a1 => tpe2.annotations .forall(a2 => a1.atp <:< a2.atp))
33
33
34
34
}
35
35
}
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ object Test {
40
40
/** Check annotations to decide whether tpe1 <:< tpe2 */
41
41
def annotationsConform (tpe1 : Type , tpe2 : Type ): Boolean = {
42
42
43
- tpe1.attributes .forall(a1 => tpe2.attributes .forall(a2 => a1.atp <:< a2.atp))
43
+ tpe1.annotations .forall(a1 => tpe2.annotations .forall(a2 => a1.atp <:< a2.atp))
44
44
45
45
}
46
46
}
You can’t perform that action at this time.
0 commit comments