diff options
author | Adriaan Moors <adriaan.moors@typesafe.com> | 2012-12-17 11:09:46 -0800 |
---|---|---|
committer | Adriaan Moors <adriaan.moors@typesafe.com> | 2012-12-17 11:09:46 -0800 |
commit | 682dbfaf670ee22568a25ab15f61707e9942f764 (patch) | |
tree | 99ed8568386fdf7164d5766191fc8e6648e75875 /test/files/neg/t5390b.check | |
parent | 80bb7ec3687c8ac2f5fc848973d7ef101888ce2b (diff) | |
parent | bbf0eb28fae4d4312518aa25de062f2323a0098c (diff) | |
download | scala-682dbfaf670ee22568a25ab15f61707e9942f764.tar.gz scala-682dbfaf670ee22568a25ab15f61707e9942f764.tar.bz2 scala-682dbfaf670ee22568a25ab15f61707e9942f764.zip |
Merge pull request #1707 from retronym/ticket/5390
SI-5390 Detect forward reference of case class apply
Diffstat (limited to 'test/files/neg/t5390b.check')
-rw-r--r-- | test/files/neg/t5390b.check | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/files/neg/t5390b.check b/test/files/neg/t5390b.check new file mode 100644 index 0000000000..cbf8fafa6b --- /dev/null +++ b/test/files/neg/t5390b.check @@ -0,0 +1,4 @@ +t5390b.scala:7: error: forward reference extends over definition of value b + val b = a.B("") + ^ +one error found |