diff options
Diffstat (limited to 'test/files/res/bug735')
-rw-r--r-- | test/files/res/bug735/ScalaExpressions.scala | 11 | ||||
-rw-r--r-- | test/files/res/bug735/ScalaTyper.scala | 5 |
2 files changed, 16 insertions, 0 deletions
diff --git a/test/files/res/bug735/ScalaExpressions.scala b/test/files/res/bug735/ScalaExpressions.scala new file mode 100644 index 0000000000..aacc412b68 --- /dev/null +++ b/test/files/res/bug735/ScalaExpressions.scala @@ -0,0 +1,11 @@ +package bug735; +trait ScalaExpressions { + trait ExpressionFactory { + def foo = 10; + def bar : Int; + } + val values : ValueFactory; + trait ValueFactory extends ExpressionFactory { + def bar = 42; + } +} diff --git a/test/files/res/bug735/ScalaTyper.scala b/test/files/res/bug735/ScalaTyper.scala new file mode 100644 index 0000000000..29c4bb37cb --- /dev/null +++ b/test/files/res/bug735/ScalaTyper.scala @@ -0,0 +1,5 @@ + +package bug735; +trait ScalaTyper extends ScalaExpressions { + val values = new ValueFactory {} +}
\ No newline at end of file |