diff options
author | Martin Odersky <odersky@gmail.com> | 2014-12-13 14:47:12 +0100 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2014-12-13 17:57:57 +0100 |
commit | 0cee59bbf965440de813d5813c6086b97e444d5f (patch) | |
tree | 862c70b350bb7342815114581634c6c579c7e4df /tests/pos/fbounds.scala | |
parent | f3d887f079efbe7dbb53abd22bd212eee8e1c67a (diff) | |
download | dotty-0cee59bbf965440de813d5813c6086b97e444d5f.tar.gz dotty-0cee59bbf965440de813d5813c6086b97e444d5f.tar.bz2 dotty-0cee59bbf965440de813d5813c6086b97e444d5f.zip |
Two new tests
1) Verify we survive illegal infinite paths. Closes #91.
2) Verify we handle fbounds in and types correctly.
Diffstat (limited to 'tests/pos/fbounds.scala')
-rw-r--r-- | tests/pos/fbounds.scala | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/pos/fbounds.scala b/tests/pos/fbounds.scala new file mode 100644 index 000000000..dd56de37f --- /dev/null +++ b/tests/pos/fbounds.scala @@ -0,0 +1 @@ +class A [ T <: A[_] & Number] |