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

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