I've just recently updated a Scala project from 2.10 to 2.11.2.
For the following code:
if( x < 1.e-150 ) // conditional ops...
I'm getting the error
e is not a member of Int
Previously scientific notion has worked ok. I suspect it is not a 2.11 thing but more likely some weirdness with the upgrade which was for most part just a case of updating the sbt file to have:
scalaVersion := "2.11.2"
where it was previously:
scalaVersion := "2.10.3"
I can't think of what might be causing this. All I know is that it was working fine under 2.10.
Has anyone seen this issue before or can suggest a fix? ( or new line of enquiry!)
I'm using JDK 1.7.0_21 and sbt.version=0.13.5
.
Any help or ideas appreciated.