aboutsummaryrefslogtreecommitdiff
path: root/tests/pending/pos/test5.scala
diff options
context:
space:
mode:
authorDmitry Petrashko <dmitry.petrashko@gmail.com>2015-04-09 16:13:04 +0200
committerDmitry Petrashko <dmitry.petrashko@gmail.com>2015-04-09 16:13:04 +0200
commit6a5a6cca84221b90b14dbac8730cafef7f60e410 (patch)
tree26ed77e2406a698ad86e2a381589d1d7daebb5a3 /tests/pending/pos/test5.scala
parent9602523e0b6b89b73f77ac45f9a5b58060fcd6cf (diff)
downloaddotty-6a5a6cca84221b90b14dbac8730cafef7f60e410.tar.gz
dotty-6a5a6cca84221b90b14dbac8730cafef7f60e410.tar.bz2
dotty-6a5a6cca84221b90b14dbac8730cafef7f60e410.zip
Replace tabs with 4 spaces in Dotty tests.
Diffstat (limited to 'tests/pending/pos/test5.scala')
-rw-r--r--tests/pending/pos/test5.scala22
1 files changed, 11 insertions, 11 deletions
diff --git a/tests/pending/pos/test5.scala b/tests/pending/pos/test5.scala
index 4dbafc9ac..c19478048 100644
--- a/tests/pending/pos/test5.scala
+++ b/tests/pending/pos/test5.scala
@@ -12,12 +12,12 @@ object test {
class M[P]() {
abstract class I[X]() {
- // Methods to check the type X and P as seen from instances of I
- def chk_ix(x: X): Unit = ();
- def chk_ip(p: P): Unit;
+ // Methods to check the type X and P as seen from instances of I
+ def chk_ix(x: X): Unit = ();
+ def chk_ip(p: P): Unit;
- // Value with type X as seen from instances of I
- def val_ix: X = val_ix;
+ // Value with type X as seen from instances of I
+ def val_ix: X = val_ix;
}
val i:I[G[P]] = null;
@@ -31,13 +31,13 @@ object test {
val j:J[G[Q]] = null;
abstract class J[Y]() extends I[G[Y]]() {
- // Values with types Y and X as seen from instances of J
- def val_jy: Y = val_jy;
- def val_jx: G[Y] = g[Y](val_jy);
+ // Values with types Y and X as seen from instances of J
+ def val_jy: Y = val_jy;
+ def val_jx: G[Y] = g[Y](val_jy);
- // Check type P
- chk_ip(val_mp);
- chk_ip(val_np);
+ // Check type P
+ chk_ip(val_mp);
+ chk_ip(val_np);
}
// Values with types Q, X.P, i.X, j.Y and j.X as seen from instances of N