Skip to content

Commit cfa2ba0

Browse files
committed
Add test case
Tests #518.
1 parent 0c63736 commit cfa2ba0

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tests/pos/i518.scala

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
class Meter(val underlying: Int) extends AnyVal
2+
3+
class Test {
4+
val x: Int = new Meter(3).hashCode()
5+
// After phase VCInline the rhs should be expanded to Meter.hashCode$extension(3)
6+
}

0 commit comments

Comments
 (0)