Skip to content

Commit e2824b0

Browse files
committed
Update extension method syntax
1 parent ed2f633 commit e2824b0

File tree

21 files changed

+60
-55
lines changed

21 files changed

+60
-55
lines changed
Submodule ScalaPB updated 1 file
Submodule fastparse updated 1 file
Submodule shapeless added at 63c5e0a

tasty/src/dotty/tools/tasty/experimental/bridge/AnnotationOps.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@ trait AnnotationOps extends Core with
1313

1414
def unapply(annot: Annotation)(given Context): Option[Symbol] = internal.Annotation_Child_unapply(annot)
1515

16-
given AnnotationOps: (annot: Annotation) with
16+
given AnnotationOps: (annot: Annotation) extended with
1717
def tree(given Context): tpd.Tree = internal.Annotation_tree(annot)
1818
def symbol(given Context): Symbol = internal.Annotation_symbol(annot)

tasty/src/dotty/tools/tasty/experimental/bridge/CommentOps.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@ import reflect.ClassTag
44

55
trait CommentOps extends Core with
66

7-
given CommentOps: (comment: Comment) with
7+
given CommentOps: (comment: Comment) extended with
88
def raw: String = internal.Comment_raw(comment)
99
def span: Span = internal.Comment_span(comment)

0 commit comments

Comments
 (0)