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