summaryrefslogblamecommitdiff
path: root/test/files/run/Meter.check
blob: c79c51a2947e2f17b2eb2f103e69fe5817cc488a (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11


                                                                                     


     
                           



                      


                     

               
Meter.scala:72: warning: a.Meter and Int are unrelated: they will never compare equal
  println("x == 1: "+(x == 1))
                        ^
2.0
4.0m
false
x.isInstanceOf[Meter]: true
x.hashCode: 1072693248
x == 1: false
x == y: true
a == b: true
testing native arrays
Array(1.0m, 2.0m)
1.0m
>>>1.0m<<< 1.0m
>>>2.0m<<< 2.0m