File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
library/src/scala/internal/quoted Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -86,15 +86,15 @@ private[quoted] object Matcher {
86
86
case _ => notMatched
87
87
}
88
88
89
- private given treeListOps : extension (scrutinees : List [Tree ]) with
89
+ private given treeListOps : (scrutinees : List [Tree ]) extended with {
90
90
91
91
/** Check that all trees match with =?= and concatenate the results with && */
92
92
def =?= (patterns : List [Tree ])(given Context , Env ): Matching =
93
93
matchLists(scrutinees, patterns)(_ =?= _)
94
94
95
- end treeListOps
95
+ } // end treeListOps
96
96
97
- private given treeOps : extension (scrutinee0 : Tree ) with
97
+ private given treeOps : (scrutinee0 : Tree ) extended with {
98
98
99
99
/** Check that the trees match and return the contents from the pattern holes.
100
100
* Return None if the trees do not match otherwise return Some of a tuple containing all the contents in the holes.
@@ -275,7 +275,7 @@ private[quoted] object Matcher {
275
275
notMatched
276
276
}
277
277
}
278
- end treeOps
278
+ } // end treeOps
279
279
280
280
private def treeOptMatches (scrutinee : Option [Tree ], pattern : Option [Tree ])(given Context , Env ): Matching = {
281
281
(scrutinee, pattern) match {
Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ object MyScalaJSPlugin extends AutoPlugin {
58
58
}
59
59
60
60
object Build {
61
- val referenceVersion = " 0.21.0-bin-20191119-7c7fffa -NIGHTLY"
61
+ val referenceVersion = " 0.21.0-bin-20191204-5a695a5 -NIGHTLY"
62
62
63
63
val baseVersion = " 0.21.0"
64
64
val baseSbtDottyVersion = " 0.3.5"
You can’t perform that action at this time.
0 commit comments