By Sibers CTO Andrey Gavrilov
What comes next? Many methods of these classes match each other. For example there exists a method replace in both “Javas”. But again – these are very very different replaces.
And you know what? The script generates no errors – it just uses the Java’s replace because somewhere before it had used the wrong String. That’s it.
A workaround? Explicit definition of types – everywhere! It helps although it does annoy.