8172443: Change use of tree.pos to line:col in rawDiagnostics

Generate more stable raw diagnostic position for functional expression AST diag arguments

Reviewed-by: jjg, vromero
This commit is contained in:
Maurizio Cimadamore 2017-10-05 18:29:47 +01:00
parent 2115af4897
commit 9f2615c4de
32 changed files with 94 additions and 62 deletions

View file

@ -15,6 +15,6 @@ class MethodReference72 {
<Z> void g(F<Z> f) { }
void test() {
g(this::m1); //?
g(this::m1); //bad method reference argument type
}
}