aboutsummaryrefslogtreecommitdiff
path: root/tests/pending/pos/tcpoly_seq_typealias.scala
diff options
context:
space:
mode:
authorDmitry Petrashko <dmitry.petrashko@gmail.com>2015-04-09 18:15:19 +0200
committerDmitry Petrashko <dmitry.petrashko@gmail.com>2015-04-09 23:14:02 +0200
commitdad71ca7c5311c5741aecc497de83f02d5f35f6e (patch)
tree17d91106a693a98b2620d5c5eae52cd9cc67abac /tests/pending/pos/tcpoly_seq_typealias.scala
parent74957b3b20aae3a0a2c7a41000c5a1424586f412 (diff)
downloaddotty-dad71ca7c5311c5741aecc497de83f02d5f35f6e.tar.gz
dotty-dad71ca7c5311c5741aecc497de83f02d5f35f6e.tar.bz2
dotty-dad71ca7c5311c5741aecc497de83f02d5f35f6e.zip
Ensure spaces after `if` in Dotty tests.
Diffstat (limited to 'tests/pending/pos/tcpoly_seq_typealias.scala')
-rw-r--r--tests/pending/pos/tcpoly_seq_typealias.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/pending/pos/tcpoly_seq_typealias.scala b/tests/pending/pos/tcpoly_seq_typealias.scala
index 8d2f6e7c3..b758ecd99 100644
--- a/tests/pending/pos/tcpoly_seq_typealias.scala
+++ b/tests/pending/pos/tcpoly_seq_typealias.scala
@@ -129,7 +129,7 @@ trait HOSeq {
// TODO: the var tl approach does not seem to work because subtyping isn't fully working yet
final case class ::[+b](hd: b, private val tl: List[b]) extends List[b] {
def head = hd
- def tail = if(tl==null) this else tl // hack
+ def tail = if (tl==null) this else tl // hack
override def isEmpty: Boolean = false
}