[ https://issues.apache.org/jira/browse/NETBEANS-3788?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17055720#comment-17055720 ]
Anthony Vanelverdinghe commented on NETBEANS-3788: -------------------------------------------------- [~pascalfares] this is not a bug: the code doesn't compile with javac, showing the same error > Erreur supposé dans l'éditeur, mais la compilation et le code sont correcte > --------------------------------------------------------------------------- > > Key: NETBEANS-3788 > URL: https://issues.apache.org/jira/browse/NETBEANS-3788 > Project: NetBeans > Issue Type: Bug > Components: editor - Lexer, editor - Parsing & Indexing > Affects Versions: 11.2 > Environment: Window 10 1903 > openjdk version "13.0.1" 2019-10-15 > Reporter: Pascal Fares > Priority: Critical > Fix For: 11.2 > > Attachments: Annotation 2020-02-03 123039.png > > > Ceci est parfaitement correcte etr compile normalement, mais l'editeur > netbeans indique une erreur "incompatible type" > version java openjdk version "13.0.1" 2019-10-15 > > String _afficheLigne(List<String> ligne) { > return ligne.stream().reduce("", (acc, s) -> > String.format("%s\t%s",acc,s)); > } > > String _afficheLignes2(List<List<String>> lignes) { > return lignes.stream().map((ls) -> _afficheLignes(ls)).reduce((acc,s) > ->String.format("%s\n%s",acc,s)); > } -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists