File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
src/dotty/tools/backend/jvm Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -164,7 +164,7 @@ class LabelDefs extends MiniPhaseTransform {
164
164
}
165
165
}
166
166
167
- val collectLabelDefs = new TreeMap () {
167
+ object collectLabelDefs extends TreeMap () {
168
168
169
169
// label calls from this DefDef
170
170
var parentLabelCalls : mutable.Set [Tree ] = new mutable.HashSet [Tree ]()
Original file line number Diff line number Diff line change @@ -125,7 +125,7 @@ class DottyPrimitives(ctx: Context) {
125
125
/** Initialize the primitive map */
126
126
private def init : immutable.Map [Symbol , Int ] = {
127
127
128
- implicit val ctx = this .ctx
128
+ implicit val ctx : Context = this .ctx
129
129
130
130
import core .Symbols .defn
131
131
val primitives = new mutable.HashMap [Symbol , Int ]()
You can’t perform that action at this time.
0 commit comments