File tree 2 files changed +6
-8
lines changed
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
65
65
if (span == mySpan) this
66
66
else {
67
67
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
71
70
this
72
- }
73
- else cloneIn(source)
71
+ else
72
+ cloneIn(source)
74
73
newpd.span = span
75
74
newpd
76
75
}
Original file line number Diff line number Diff line change @@ -18,9 +18,8 @@ class IdempotencyTests {
18
18
import IdempotencyTests ._
19
19
import CompilationTest .aggregateTests
20
20
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
24
23
25
24
@ Category (Array (classOf [SlowTests ]))
26
25
@ Test def idempotency : Unit = {
You can’t perform that action at this time.
0 commit comments