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

                   
                                                                                      


                   
t4158.scala:3: error: an expression of type Null is ineligible for implicit conversion
  var y = null: Int
          ^
t4158.scala:2: error: an expression of type Null is ineligible for implicit conversion
  var x: Int = null
               ^
two errors found