Long-Standing Spurious Import Error

Hi,

I keep hoping for this to be fixed and I heard that there was a big improvement in type inference checked in recently (I confirmed some improvement with extended type checking is enabled) but that old renaming import syntax is still diagnosed and in extended checking mode, every use of the renamed import is still flagged.

import      java.io.{File, IOException}
import      java.io.{FileOutputStream => FileOS, BufferedOutputStream => BufOS, PrintStream => PrtOS}
import      java.lang.System.err.{printf => ePrintf, println => ePrintln}

                                  ^^^^^^
                                  Cannot resolve symbol printf
                                                     ^^^^^^^
                                                     Cannot resolve symbol println





Randall Schulz



Attachment(s):
RedRenamingImport.png
5 comments
Comment actions Permalink

Ok, this is important to fix. I'll do it soon (maybe next week). http://youtrack.jetbrains.net/issue/SCL-2172

Best regards,
Alexander Podkhalyuzin.

0
Comment actions Permalink

Fixed in 0.3.1820.

Best regards,
Alexander Podkhalyuzin.

0
Comment actions Permalink

Great. I'll let you know how it works when it makes it through the build pipline.


Randall Schulz

0
Comment actions Permalink

Fixed in 0.3.1825.

Thanks!


Randall Schulz

0

Please sign in to leave a comment.