Skip to content

Commit aca73db

Browse files
committed
Workaround
1 parent ca63fd0 commit aca73db

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

compiler/src/dotty/tools/dotc/transform/YCheckPositions.scala

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ class YCheckPositions extends Phase {
2525
val checker = new TreeTraverser {
2626
private var sources: List[SourceFile] = ctx.source :: Nil
2727
def traverse(tree: tpd.Tree)(using Context): Unit = {
28+
if tree.source.toString != "library/src/scala/runtime/stdLibPatches/Predef.scala" then // FIXME: remove this workaround
2829

2930
// Check current context is correct
3031
assert(ctx.source == sources.head)

0 commit comments

Comments
 (0)