view test/langtools/tools/javac/capture/Martin.out @ 47360:2e947e1bd907

8187978: javac can show overload error messages that include non-valid candidates Reviewed-by: mcimadamore Contributed-by: bsrbnd@gmail.com
author vromero
date Mon, 02 Oct 2017 10:04:22 -0700
parents 71c04702a3d5
children 7d02545ec122
line wrap: on
line source
Martin.java:15:11: compiler.err.cant.apply.symbols: kindname.method, addAll, java.util.List<compiler.misc.type.captureof: 1, ?>,{(compiler.misc.inapplicable.method: kindname.method, java.util.List, addAll(java.util.Collection<? extends compiler.misc.type.captureof: 2, ?>), (compiler.misc.no.conforming.assignment.exists: (compiler.misc.inconvertible.types: java.util.List<compiler.misc.type.captureof: 1, ?>, java.util.Collection<? extends compiler.misc.type.captureof: 2, ?>))),(compiler.misc.inapplicable.method: kindname.method, java.util.List, addAll(int,java.util.Collection<? extends compiler.misc.type.captureof: 2, ?>), (compiler.misc.arg.length.mismatch))}
1 error