diff options
author | Martin Odersky <odersky@gmail.com> | 2014-03-01 18:47:27 +0100 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2014-03-01 18:47:27 +0100 |
commit | cba210d0c362759a710f4d9b5dbf1ecfe0d1f278 (patch) | |
tree | 10cfbb2a6eb06beb2120512ea8a190d15f2d526a /test | |
parent | b9e576ad1ba0ff02c550c821648f23905477e545 (diff) | |
download | dotty-cba210d0c362759a710f4d9b5dbf1ecfe0d1f278.tar.gz dotty-cba210d0c362759a710f4d9b5dbf1ecfe0d1f278.tar.bz2 dotty-cba210d0c362759a710f4d9b5dbf1ecfe0d1f278.zip |
Fix problem when handling structural types without a nominal parent type.
We need to use Object as parent then, but this was forgotten.
Diffstat (limited to 'test')
-rw-r--r-- | test/dotc/tests.scala | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/dotc/tests.scala b/test/dotc/tests.scala index 03bc89ea9..9132ce9c4 100644 --- a/test/dotc/tests.scala +++ b/test/dotc/tests.scala @@ -39,6 +39,7 @@ class tests extends CompilerTest { @Test def pos_packageobject() = compileFile(posDir, "packageobject") @Test def pos_overloaded() = compileFile(posDir, "overloaded") @Test def pos_templateParents() = compileFile(posDir, "templateParents") + @Test def pos_structural() = compileFile(posDir, "structural") @Test def neg_blockescapes() = compileFile(negDir, "blockescapesNeg", xerrors = 1) @Test def neg_typedapply() = compileFile(negDir, "typedapply", xerrors = 4) |