summaryrefslogblamecommitdiff
path: root/test/files/run/checked.check
blob: a1a43027f0f474f5e5989c3bf6b838f078e78822 (plain) (tree)


































                                                                           
checked.scala:42: warning: the semantics of this definition has changed;
the initialization is no longer be executed before the superclass is called
  val x = 1
      ^
checked.scala:19: warning: the semantics of this definition has changed;
the initialization is no longer be executed before the superclass is called
  val t1 = 1
      ^
checked.scala:20: warning: the semantics of this definition has changed;
the initialization is no longer be executed before the superclass is called
  var t2 = 2
      ^
checked.scala:53: warning: the semantics of this definition has changed;
the initialization is no longer be executed before the superclass is called
  val x = 1
      ^
checked.scala:54: warning: the semantics of this definition has changed;
the initialization is no longer be executed before the superclass is called
  val y = 2
      ^
5 warnings found
sum = 12
[OK] Cought UFE: Uninitialized field: checked.scala: 42
2
[OK] Cought UFE: Uninitialized field: checked.scala: 73
x = 10
y = 11
lz1 = 1
lz2 = 2
[OK]: 24
x = 10
y = 11
lz1 = 1
lz2 = 2
[OK]: 24