inference: register inference error when nested inference don't start as cached session already had errors

This commit is contained in:
Anna.Kozlova
2016-10-21 18:07:07 +02:00
parent 3797d3ea1c
commit 9bcbdb68cb
9 changed files with 15 additions and 20 deletions
@@ -26,6 +26,6 @@ class Test {
.map(object -> Arrays.stream(functions)
.map(fn -> fn.apply(object))
.collect(toList()))
.collect<error descr="'collect(java.util.stream.Collector<? super java.util.List<capture<?>>,A,R>)' in 'java.util.stream.Stream' cannot be applied to '(java.util.stream.Collector<T,capture<?>,java.util.List<T>>)'">(toList())</error>;
.collect(toList<error descr="'toList()' in 'java.util.stream.Collectors' cannot be applied to '()'">()</error>);
}
}