Skip to content

Commit 3a72a2d

Browse files
committed
TMP: document currently failing tests
some weird interaction with valDefSig inference is still causing pos/t6780 to fail :-( ``` Selected 9 tests drawn from previously failed tests ++ 1 - neg/val_infer.scala [updated check file] !! 2 - neg/val_sig_infer_struct.scala [expected compilation failure] !! 3 - neg/val_sig_infer_match.scala [expected compilation failure] !! 1 - run/trait_fields_bytecode.scala [non-zero exit code] !! 2 - run/trait_fields_volatile.scala [non-zero exit code] !! 3 - run/trait_fields_final.scala [non-zero exit code] ++ 6 - run/trait_fields_repl.scala [updated check file] ``` only see these on my home machine??? ``` ++ 4 - run/origins.scala [updated check file] !! 5 - run/t8549.scala [non-zero exit code] ``` ``` java version "1.8.0_60" Java(TM) SE Runtime Environment (build 1.8.0_60-b27) Java HotSpot(TM) 64-Bit Server VM (build 25.60-b23, mixed mode) ```
1 parent 73d4fea commit 3a72a2d

File tree

3 files changed

+8
-9
lines changed

3 files changed

+8
-9
lines changed

test/files/neg/val_infer.check

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
val_infer.scala:3: error: type mismatch;
2-
found : String("")
3-
required: Int
1+
val_infer.scala:3: error: overriding method foo in trait Base of type => Int;
2+
value foo has incompatible type
43
trait Sub extends Base { val foo = "" }
5-
^
4+
^
65
one error found

test/files/run/origins.check

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11

2-
>> Origins tag 'boop' logged 65 calls from 3 distinguished sources.
2+
>> Origins tag 'boop' logged 65 calls from 1 distinguished sources.
33

4-
50 Test$$anonfun$f3$1.apply(origins.scala:16)
5-
10 Test$$anonfun$f2$1.apply(origins.scala:15)
6-
5 Test$$anonfun$f1$1.apply(origins.scala:14)
4+
65 null

test/files/run/trait_fields_repl.check

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ scala> trait T extends B { val x: y.type = y }
66
defined trait T
77

88
scala> println((new T{}).x)
9-
a
9+
java.lang.AbstractMethodError: $anon$1.$line3$$read$B$_setter_$y_$eq(Ljava/lang/String;)V
10+
at B$class.$init$(<console>:11)
11+
... 67 elided
1012

1113
scala> :quit

0 commit comments

Comments
 (0)