File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
compiler/src/dotty/tools/dotc/transform Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -189,8 +189,8 @@ class Splicing extends MacroTransform:
189
189
* ```
190
190
*/
191
191
private class SpliceTransformer (spliceOwner : Symbol , isCaptured : Symbol => Boolean ) extends Transformer :
192
- private val typeBindingMap = mutable.Map .empty[Symbol , (Tree , Symbol )]
193
- private val termBindingMap = mutable.Map .empty[Symbol , (Tree , Symbol )]
192
+ private val typeBindingMap = mutable.LinkedHashMap .empty[Symbol , (Tree , Symbol )]
193
+ private val termBindingMap = mutable.LinkedHashMap .empty[Symbol , (Tree , Symbol )]
194
194
/** Reference to the `Quotes` instance of the current level 1 splice */
195
195
private var quotes : Tree | Null = null // TODO: add to the context
196
196
private var healedTypes : QuoteTypeTags | Null = null // TODO: add to the context
You can’t perform that action at this time.
0 commit comments