Merge remote-tracking branch 'origin/master' into eldar/cidr-debugger

# Conflicts:
#	CIDR/clion/src/com/jetbrains/cidr/cpp/toolchains/MSVC.java

GitOrigin-RevId: f3593b526d1870f32b3f1451cab0c6a653e5beb5
This commit is contained in:
Eldar Abusalimov
2019-06-16 03:01:38 +03:00
committed by intellij-monorepo-bot
parent c9c165702a
commit 1120c30a56
2631 changed files with 13602 additions and 189219 deletions
@@ -1,5 +1,5 @@
class Foo {
void test(Object o) {
o <caret>x
o <caret>
}
}
@@ -1,4 +1,4 @@
public class Eee {
public class MyFirstTestClassFoo {
void foo(int a, Eee e<caret>){
}
@@ -1,4 +1,4 @@
public class Eee {
public class MyFirstTestClassFoo {
void foo(int a, Eee eee<caret>){
}
@@ -1,7 +0,0 @@
class C {
String empty = """
""";
String invalid1 = <error descr="Illegal text block start: missing new line after opening quotes">""""""</error>;
String invalid2 = <error descr="Illegal text block start: missing new line after opening quotes">""" """</error>;
String invalid3 = <error descr="Illegal text block start: missing new line after opening quotes">"""\\n """</error>;
}
@@ -1,4 +0,0 @@
class C {
String unclosed = """
\""";
}<EOLError descr="Unclosed text block"></EOLError><EOLError descr="'}' expected"></EOLError><EOLError descr="';' expected"></EOLError>
@@ -1,27 +0,0 @@
import java.util.function.Function;
class MyTest {
{
Function<B, Try<A>> aNew = Try::new;
Try<B> bTry = new Try<>(new B());
Try<A> aTry = bTry.flatMap(Try::new);
}
private static class A { }
private static class B extends A { }
private static class Try<T> {
public Try(T t) {
}
public Try(Exception e) {
}
public <U> Try<U> flatMap(Function<? super T, Try<U>> mapper) {
return null;
}
}
}
@@ -1,11 +0,0 @@
interface ToStringBug {
static void toString(String s) {}
class Inner implements ToStringBug {
{
toString<error descr="'toString()' in 'java.lang.Object' cannot be applied to '(java.lang.String)'">( "x")</error>;
}
}
}
@@ -1,8 +0,0 @@
// "Use 'putIfAbsent' method without lambda" "false"
import java.util.Map;
class Test {
public void test(Map<String, String> map, String key, String value) {
map.computeIfAbsent(key, k <caret>-> value);
}
}
@@ -1,6 +1,6 @@
// "Use 'computeIfAbsent' method with functional argument" "true"
import java.util.*;
import java.util.Map;
class Test {
public void test(Map<String, List<Integer>> map, String key) {
@@ -1,6 +1,6 @@
// "Use 'computeIfAbsent' method with functional argument" "true"
import java.util.*;
import java.util.Map;
class Test {
public void test(Map<String, List<Integer>> map, String key) {
@@ -1,12 +0,0 @@
// "Use 'computeIfAbsent' method with functional argument" "false"
import java.util.*;
class Test {
public void test(Map<String, List<Integer>> map, String key) {
map.putIfAbsent(key, createList<caret>());
map.get(key).add(0);
}
private native List<Integer> createList();
}
@@ -1,6 +1,6 @@
// "Use 'computeIfAbsent' method with functional argument" "false"
import java.util.*;
import java.util.Map;
class Test {
public void test(Map<String, List<Integer>> map, String key) {
@@ -1,9 +0,0 @@
import java.lang.String;
class X {
<S> X(int i){}
<T> X(String s){}
{
new <caret>X
}
}