summaryrefslogtreecommitdiff
path: root/test/scaladoc/resources
diff options
context:
space:
mode:
authorKato Kazuyoshi <kato.kazuyoshi@gmail.com>2011-08-06 12:48:48 +0000
committerKato Kazuyoshi <kato.kazuyoshi@gmail.com>2011-08-06 12:48:48 +0000
commit8709b52eef9a0c0b2600664e38e01af3423e93f6 (patch)
treec434800649fd185e421eb84079709b65d4bc9c62 /test/scaladoc/resources
parent92f32deabb13c9fe530314c998f557ab8d9feed5 (diff)
downloadscala-8709b52eef9a0c0b2600664e38e01af3423e93f6.tar.gz
scala-8709b52eef9a0c0b2600664e38e01af3423e93f6.tar.bz2
scala-8709b52eef9a0c0b2600664e38e01af3423e93f6.zip
Some "synthetic" code don't have RangePosition.
Diffstat (limited to 'test/scaladoc/resources')
-rw-r--r--test/scaladoc/resources/SI_4287.scala6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/scaladoc/resources/SI_4287.scala b/test/scaladoc/resources/SI_4287.scala
new file mode 100644
index 0000000000..9846db466d
--- /dev/null
+++ b/test/scaladoc/resources/SI_4287.scala
@@ -0,0 +1,6 @@
+class ClassWithSugar(val x: Int = 123) {
+}
+
+class ClassWithoutSugar {
+ def this(x: Int = 456) = this()
+}