Skip to content

Commit a20b802

Browse files
committed
[Dotty workaround] Fixed Variable#copy causing a merge error in dotc.
1 parent e7d5933 commit a20b802

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/main/scala/inox/ast/Expressions.scala

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,11 @@ trait Expressions { self: Trees =>
5353
override def equals(that: Any) = super[VariableSymbol].equals(that)
5454
override def hashCode = super[VariableSymbol].hashCode
5555

56+
// FIXME(gsps): [Bug] Triggers some weird merge error in dotty. Restore once that's fixed.
57+
/*
5658
def copy(id: Identifier = id, tpe: Type = tpe, flags: Seq[Flag] = flags) =
5759
Variable(id, tpe, flags).copiedFrom(this)
60+
*/
5861
}
5962

6063
object Variable {

0 commit comments

Comments
 (0)