Valid Import Marked Red

Hi,

This code:

private
def
showHelp: Unit =
{
    import System.err.{printf => ePrintf}
    ePrintf("%s: Usage %s [options | targets]%n", progName, progName)
}


has the printf import marked red (as shown). It compiles and does what I intend / expect.


Randall Schulz

评论操作 固定链接

Yes, at the moment the plugin understands only the mapping of packages and classes. Objects and methods causes some problems. The can be imported without red marking, but if you try to map them to other names then they turn into red.

0

请先登录再写评论。