Diagnosing Scala compile error “value to is not a member of Int”
问题 I made a code change within a Scala class that had been working fine. Upon trying to compile the modification, the compiler spit out the error message, "value to is not a member of Int" relating to this (pre-existing) line of code: for (i <- 0 to cColumn -1) { ... } Doing some research, I came across some bug reports on the "to" method - and also that "to" is apparently a method provided within the intWrapper class(?). So, based upon that info, I started looking at my class's import