Skip to content

Commit 5addf42

Browse files
committed
Fix CI job test_windows_full
The problem is well explained by the warning one got when compiling i11556.scala: 5 |class Graph { class Node } | ^ | class Graph differs only in case from object graph. Such classes will overwrite one another on case-insensitive filesystems.
1 parent b1d5760 commit 5addf42

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/pos/i11556.scala

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ type Query[-I, +O] = Traverser[Path[I], Path[O]]
1010
def nodesQ(using g: Graph): Query[Nothing, g.Node] = ???
1111
def outsQ(using g: Graph): Query[g.Node, g.Node] = ???
1212

13-
object graph extends Graph
14-
import graph._
15-
given graph.type = graph
13+
object graphObj extends Graph
14+
import graphObj._
15+
given graphObj.type = graphObj
1616

1717
object Issue11556:
1818
val q1: Query[Nothing, Node] = nodesQ ~> outsQ

0 commit comments

Comments
 (0)