diff options
Diffstat (limited to 'test/files/pos/depmet_1.scala')
-rw-r--r-- | test/files/pos/depmet_1.scala | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/files/pos/depmet_1.scala b/test/files/pos/depmet_1.scala new file mode 100644 index 0000000000..166e991817 --- /dev/null +++ b/test/files/pos/depmet_1.scala @@ -0,0 +1,6 @@ +object Test { + def precise(x: String)(y: x.type): x.type = y + val foo = "foo" + val fun : foo.type => foo.type = precise(foo) + val bar : foo.type = precise(foo)(foo) +}
\ No newline at end of file |