raw string literals: string assignability (IDEA-189075)

This commit is contained in:
Anna.Kozlova
2018-04-12 15:36:15 +02:00
parent 1c30af9eee
commit 6b42992013
3 changed files with 63 additions and 3 deletions
@@ -0,0 +1,10 @@
class Test {
void m(String s) {}
<T> void n(T s) {}
{
String s = ``abc``;
m(`abc`);
n(`abc`);
String[] array = {``abc``};
}
}