File tree Expand file tree Collapse file tree 2 files changed +6
-8
lines changed Expand file tree Collapse file tree 2 files changed +6
-8
lines changed Original file line number Diff line number Diff line change @@ -65,12 +65,11 @@ abstract class Positioned(implicit @constructorOnly src: SourceFile) extends Src
6565 if (span == mySpan) this
6666 else {
6767 val newpd : this .type =
68- if (mySpan.isSynthetic) {
69- if (! mySpan.exists && span.exists)
70- envelope(source, span.startPos) // fill in children spans
68+ if ! mySpan.exists then
69+ if span.exists then envelope(source, span.startPos) // fill in children spans
7170 this
72- }
73- else cloneIn(source)
71+ else
72+ cloneIn(source)
7473 newpd.span = span
7574 newpd
7675 }
Original file line number Diff line number Diff line change @@ -18,9 +18,8 @@ class IdempotencyTests {
1818 import IdempotencyTests ._
1919 import CompilationTest .aggregateTests
2020
21- // Flaky test on Windows
22- // https://github.com/lampepfl/dotty/issues/11885
23- val filter = FileFilter .exclude(" i6507b.scala" )
21+ // ignore flaky tests
22+ val filter = FileFilter .NoFilter
2423
2524 @ Category (Array (classOf [SlowTests ]))
2625 @ Test def idempotency : Unit = {
You can’t perform that action at this time.
0 commit comments