summaryrefslogblamecommitdiff
path: root/test/files/neg/gadts1.check
blob: 151cfad712f8e9114ca00f92f4ce98ce208d066a (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