add single import: ensure current ref to import is taken into account when check the limit (IDEA-127949)

This commit is contained in:
Anna.Kozlova
2018-07-27 18:23:01 +02:00
parent 39069ee188
commit 84e2da2eeb
4 changed files with 26 additions and 1 deletions

View File

@@ -0,0 +1,11 @@
import static java.lang.Math.abs;
import static java.lang.Math.sin;
class ImportTest {
{
abs(-0.5);
sin(0.5);
Math.ma<caret>x(1, 2);
Math.min(1, 2);
}
}

View File

@@ -0,0 +1,10 @@
import static java.lang.Math.*;
class ImportTest {
{
abs(-0.5);
sin(0.5);
ma<caret>x(1, 2);
Math.min(1, 2);
}
}