summaryrefslogtreecommitdiff
path: root/test/files/neg/t4158.check
blob: 7bac6558f760192f4f6b4fddc10692a31155ec08 (plain) (blame)
1
2
3
4
5
6
7
t4158.scala:2: error: an expression of type Null is ineligible for implicit conversion
  var x: Int = null
               ^
t4158.scala:3: error: an expression of type Null is ineligible for implicit conversion
  var y = null: Int
          ^
two errors found