summaryrefslogblamecommitdiff
path: root/test/files/neg/gadts1.check
blob: a761b79cb89f79260d0d3c4203dc100d0571ad85 (plain) (tree)
1
2
3
4
5
6
                                     



                                         
               
gadts1.scala:15 error: type mismatch;
 found   : Test.this.Double
 required: a
    case NumTerm(n) => c.x = Double(1.0) 
                                   ^
one error found