summaryrefslogtreecommitdiff
path: root/test/files/neg/t5735.check
blob: f6e002804404f1a11b935c1926a2de3683aa91d3 (plain) (blame)
1
2
3
4
5
6
t5735.scala:6: error: type mismatch;
 found   : (x: Int)Int <and> => String
 required: Int
  val z: Int = a
               ^
one error found