Leda still doesn't work

Updated to 120.305 and 0.6.58. Double checked all of the
library/module/artifact configurations. Still get this error:

Information:Compilation completed with 18 errors and 0 warnings in 7 sec
Information:18 errors
Information:0 warnings
Error: scala.tools.nsc.MissingRequirementError: object scala not found.
Error:at
scala.tools.nsc.symtab.Definitions$definitions$.getModuleOrClass(Definitions.scala:655)
Error:at
scala.tools.nsc.symtab.Definitions$definitions$.getModule(Definitions.scala:605)
Error:at
scala.tools.nsc.symtab.Definitions$definitions$.ScalaPackage(Definitions.scala:145)
Error:at
scala.tools.nsc.symtab.Definitions$definitions$.ScalaPackageClass(Definitions.scala:146)
Error:at
scala.tools.nsc.symtab.Definitions$definitions$.AnyClass(Definitions.scala:176)
Error:at
scala.tools.nsc.symtab.Definitions$definitions$.init(Definitions.scala:814)
Error:at scala.tools.nsc.Global$Run.(Global.scala:697)
Error:at scala.tools.nsc.Main$.process(Main.scala:105)
Error:at scala.tools.nsc.Main$.main(Main.scala:123)
Error:at scala.tools.nsc.Main.main(Main.scala)
Error:at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
Error:at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
Error:at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
Error:at java.lang.reflect.Method.invoke(Method.java:597)
Error:at
org.jetbrains.plugins.scala.compiler.rt.ClassRunner.main(ClassRunner.java:46)
Error:
Error: fatal error: object scala not found.

10 comments
Comment actions Permalink

Can you please provide a sample project configuration that exhibits the misbehavior?

0
Comment actions Permalink

Here you go.

Donald

On 8/8/12 5:53 PM, Pavel Fatin wrote:

Can you please provide a sample project configuration that exhibits the misbehavior?

>

---
Original message URL: http://devnet.jetbrains.net/message/5465385#5465385

>



Attachment(s):
dads.iml.zip
0
Comment actions Permalink

Just updated to 122.29 and 0.6.81, still no good.

0
Comment actions Permalink

I just tested on 122.29 with 0.6.77. Compiles fail for a multi-module project.

What looks to me to be the problem is that when one module B depends on another module D and also exports that dependency, that export is not handled correctly.
If a third module A then depends on B, it should also be able to use D.

My compile fails because the compiler cannot find the dependencies from D while compiling A.
The editor is perfectly happy (green) with the same code that depends on D.

So it looks like the passing transitive dependencies to the compiler is not working correctly.

Edit:
This seems to be already reported in SCL-4540.

0
Comment actions Permalink

That is consistent with my project. I have four modules a -> b, a -> c,
c -> d.

Donald

On 8/14/12 2:21 PM, Maarten Hazewinkel wrote:

I just tested on 122.29 with 0.6.77. Compiles fail for a multi-module project.

>

What looks to me to be the problem is that when one module B depends on another module D and also exports that dependency, that export is not handled correctly.
If a third module A then depends on B, it should also be able to use D.

>

My compile fails because the compiler cannot find the dependencies from D while compiling A.
The editor is perfectly happy (green) with the same code that depends on D.

>

So it looks like the passing transitive dependencies to the compiler is not working correctly.


0
Comment actions Permalink

Thank you for sharing the finding. We're now checking the problem.

0
Comment actions Permalink

That's fixed now.

0
Comment actions Permalink

Thanks Pavel.
I just grabbed the latest version of Leda and Scala plugin, and my compilation works now.

0
Comment actions Permalink

Mine also.

Thank you!


On 8/17/12 3:26 PM, Maarten Hazewinkel wrote:

Thanks Pavel.
I just grabbed the latest version of Leda and Scala plugin, and my compilation works now.


0
Comment actions Permalink

Pavel,

Is it possible this behavior has regressed?
I've tried everything to get this to work...

0

Please sign in to leave a comment.