mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 23:34:52 +02:00
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:
parent
2115af4897
commit
9f2615c4de
32 changed files with 94 additions and 62 deletions
|
@ -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
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue