diff options
author | Eugene Burmako <xeno.by@gmail.com> | 2012-01-31 12:12:23 +0100 |
---|---|---|
committer | Eugene Burmako <xeno.by@gmail.com> | 2012-02-01 23:10:55 +0100 |
commit | 1e0707786b118e3e33379e7acdc75306b45e6547 (patch) | |
tree | 2569832d1ee4db3466cec75ce0b8b10431c81f62 /test/files/run/t5256e.check | |
parent | fbd5efe49cf23b446762dfa5026e8bac82ab04fc (diff) | |
download | scala-1e0707786b118e3e33379e7acdc75306b45e6547.tar.gz scala-1e0707786b118e3e33379e7acdc75306b45e6547.tar.bz2 scala-1e0707786b118e3e33379e7acdc75306b45e6547.zip |
Hardens classToType logic
Reflection now correctly processes classes, objects and inner classes
that are declared in classes and objects.
However classToType still crashes on compound types and local classes.
For more information on those, follow the links:
* Compound types: https://issues.scala-lang.org/browse/SI-5430
* Local classes: https://issues.scala-lang.org/browse/SI-5431
Fixes https://issues.scala-lang.org/browse/SI-5256.
Review by @paulp, @odersky.
Diffstat (limited to 'test/files/run/t5256e.check')
-rw-r--r-- | test/files/run/t5256e.check | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/files/run/t5256e.check b/test/files/run/t5256e.check new file mode 100644 index 0000000000..e50f917e14 --- /dev/null +++ b/test/files/run/t5256e.check @@ -0,0 +1,2 @@ +C.this.A +true
\ No newline at end of file |