summaryrefslogtreecommitdiff
path: root/test/pending/run/t4283/AbstractFoo.java
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2011-04-13 15:07:21 +0000
committerMartin Odersky <odersky@gmail.com>2011-04-13 15:07:21 +0000
commit514d01c1ce9219a10f37d50a39cfeb420d76e38c (patch)
treef63d82982a4973ab8117b7dcc0730b3723a8264f /test/pending/run/t4283/AbstractFoo.java
parent703bbdae73800e49d737e133e3a05929005294fc (diff)
downloadscala-514d01c1ce9219a10f37d50a39cfeb420d76e38c.tar.gz
scala-514d01c1ce9219a10f37d50a39cfeb420d76e38c.tar.bz2
scala-514d01c1ce9219a10f37d50a39cfeb420d76e38c.zip
Fixes my part of #4283 by inserting another cas...
Fixes my part of #4283 by inserting another cast pre-emptively when an IllegalAccess error is possible in an erasure-inserted cast. Review by extempore.
Diffstat (limited to 'test/pending/run/t4283/AbstractFoo.java')
-rw-r--r--test/pending/run/t4283/AbstractFoo.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/pending/run/t4283/AbstractFoo.java b/test/pending/run/t4283/AbstractFoo.java
index 6d4e8f4e22..0403271b74 100644
--- a/test/pending/run/t4283/AbstractFoo.java
+++ b/test/pending/run/t4283/AbstractFoo.java
@@ -1,5 +1,6 @@
package test;
/* package private */ class AbstractFoo {
- public int t;
+ public int t = 1;
+ public int f() { return 2; }
} \ No newline at end of file