summaryrefslogtreecommitdiff
path: root/test/files/neg/tcpoly_ticket2101.check
diff options
context:
space:
mode:
authorAdriaan Moors <adriaan.moors@epfl.ch>2009-10-01 14:26:56 +0000
committerAdriaan Moors <adriaan.moors@epfl.ch>2009-10-01 14:26:56 +0000
commitfe264943efccc2534a65ce0b49ed16a51e597aed (patch)
treea30ac4abd80845b04e13f7a61bcdffec18ead7b1 /test/files/neg/tcpoly_ticket2101.check
parent082a427ff9572e002bb1fc5c71e129e857f0aa81 (diff)
downloadscala-fe264943efccc2534a65ce0b49ed16a51e597aed.tar.gz
scala-fe264943efccc2534a65ce0b49ed16a51e597aed.tar.bz2
scala-fe264943efccc2534a65ce0b49ed16a51e597aed.zip
fixed #2101
there were some issues with heap pressure that made the compile take incredibly long, these were solved by increasing the max allowed heap
Diffstat (limited to 'test/files/neg/tcpoly_ticket2101.check')
-rw-r--r--test/files/neg/tcpoly_ticket2101.check4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/files/neg/tcpoly_ticket2101.check b/test/files/neg/tcpoly_ticket2101.check
new file mode 100644
index 0000000000..eac582e8ba
--- /dev/null
+++ b/test/files/neg/tcpoly_ticket2101.check
@@ -0,0 +1,4 @@
+tcpoly_ticket2101.scala:2: error: type arguments [T2,X] do not conform to class T's type parameter bounds [A[Y] <: T[A,B],B]
+class T2[X] extends T[T2, X] // ill-typed
+ ^
+one error found \ No newline at end of file