cheptsov / AdvancedExpressionFolding

https://plugins.jetbrains.com/plugin/9320?pr=idea
141 stars 30 forks source link

Accessing first collection item displays as .get(0) whereas others [1], [2]... #106

Open dodalovic opened 6 years ago

dodalovic commented 6 years ago

image

jfcabral commented 6 years ago

Confirmed in v0.9.9.4

stokito commented 6 years ago

Confirmed in 0.9.9.8.2 of #IU-182.4505.22 A snippet to reproduce:

        List<String> list = asList("1", "2", "3");
        System.out.println(list.get(0));
        System.out.println(list.get(1));
        System.out.println(list.get(2));