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