diff options
author | Adriaan Moors <adriaan.moors@typesafe.com> | 2014-03-10 11:01:06 -0700 |
---|---|---|
committer | Adriaan Moors <adriaan.moors@typesafe.com> | 2014-03-10 11:01:06 -0700 |
commit | 1c7daf40bfe529969aa423ae0d2fd454adb20acb (patch) | |
tree | f6f88e640421125f6bf127debef677b9dd274d2a /test/files/pos | |
parent | cdac91ef7507831b795dc8124421dded82224e5f (diff) | |
parent | 60aa5771ea92f91ed34778f90c04113e226d09ca (diff) | |
download | scala-1c7daf40bfe529969aa423ae0d2fd454adb20acb.tar.gz scala-1c7daf40bfe529969aa423ae0d2fd454adb20acb.tar.bz2 scala-1c7daf40bfe529969aa423ae0d2fd454adb20acb.zip |
Merge pull request #3607 from xeno-by/ticket/8367
SI-8367 revert SI-8192's change to primaryConstructor when isJavaDefined
Diffstat (limited to 'test/files/pos')
-rw-r--r-- | test/files/pos/t8367.scala | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/files/pos/t8367.scala b/test/files/pos/t8367.scala new file mode 100644 index 0000000000..cae2415405 --- /dev/null +++ b/test/files/pos/t8367.scala @@ -0,0 +1,11 @@ +package java.lang + +// SI-8367 shows something is wrong with primaryConstructor and it was made worse with the fix for SI-8192 +// perhaps primaryConstructor should not return NoSymbol when isJavaDefined +// or, perhaps isJavaDefined should be refined (the package definition above is pretty sneaky) +// also, why does this only happen for a (scala-defined!) class with this special name? +// (there are a couple of others: CloneNotSupportedException,InterruptedException) +class Throwable + +// class CloneNotSupportedException +// class InterruptedException
\ No newline at end of file |