From 5addf4218fbef351c9283a5395845b3b9ca864c0 Mon Sep 17 00:00:00 2001 From: Guillaume Martres Date: Thu, 17 Jun 2021 23:15:45 +0200 Subject: [PATCH] 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. --- tests/pos/i11556.scala | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/pos/i11556.scala b/tests/pos/i11556.scala index 881fc6d0fc10..782cdfeeac8f 100644 --- a/tests/pos/i11556.scala +++ b/tests/pos/i11556.scala @@ -10,9 +10,9 @@ type Query[-I, +O] = Traverser[Path[I], Path[O]] def nodesQ(using g: Graph): Query[Nothing, g.Node] = ??? def outsQ(using g: Graph): Query[g.Node, g.Node] = ??? -object graph extends Graph -import graph._ -given graph.type = graph +object graphObj extends Graph +import graphObj._ +given graphObj.type = graphObj object Issue11556: val q1: Query[Nothing, Node] = nodesQ ~> outsQ