diff options
author | Martin Odersky <odersky@gmail.com> | 2015-05-04 21:15:46 +0200 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2015-05-04 21:15:46 +0200 |
commit | cfa2ba030becec1f0e12994f120b65ca5e99badb (patch) | |
tree | b4183a5b70119352205081a23c10a009b0307d82 | |
parent | 0c637364a92536a968e4f3c88fce805b6eb95aec (diff) | |
download | dotty-cfa2ba030becec1f0e12994f120b65ca5e99badb.tar.gz dotty-cfa2ba030becec1f0e12994f120b65ca5e99badb.tar.bz2 dotty-cfa2ba030becec1f0e12994f120b65ca5e99badb.zip |
Add test case
Tests #518.
-rw-r--r-- | tests/pos/i518.scala | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/pos/i518.scala b/tests/pos/i518.scala new file mode 100644 index 000000000..390437dae --- /dev/null +++ b/tests/pos/i518.scala @@ -0,0 +1,6 @@ +class Meter(val underlying: Int) extends AnyVal + +class Test { + val x: Int = new Meter(3).hashCode() + // After phase VCInline the rhs should be expanded to Meter.hashCode$extension(3) +} |