summaryrefslogblamecommitdiff
path: root/test/files/neg/t7509.check
blob: eaa6303cf5206c2bca7ef8374ff368a360876c97 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12











                                                                                                                        
t7509.scala:3: error: inferred type arguments [Int] do not conform to method crash's type parameter bounds [R <: AnyRef]
  crash(42)
  ^
t7509.scala:3: error: type mismatch;
 found   : Int(42)
 required: R
  crash(42)
        ^
t7509.scala:3: error: could not find implicit value for parameter ev: R
  crash(42)
       ^
three errors found