From: Andrius Velykis <andr...@velykis.lt>
Date: Sun, 29 Apr 2012 11:32:12 -0700 (PDT)
Local: Sun, Apr 29 2012 2:32 pm
Subject: Re: [scala-user] Scala object-nested classes in Eclipse Java
On my question at StackOverflow Posting this to wrap up the thread if someone else searches for a similar Thanks, On Saturday, 21 April 2012 20:09:20 UTC+1, Andrius Velykis wrote:
> Hello, > > What Scala version are you using? Also, did you try: > I am using Scala 2.9.1 (tried both Scala-IDE and command-line official > Note that the problem is not in the initialisation - I cannot reference > Thanks, > On Friday, 20 April 2012 01:21:41 UTC+1, Grzegorz Kossakowski wrote: >> On 19 April 2012 08:25, Andrius Velykis wrote: >>> To use the class Inner in Java code, I use the following code: >>> mypackage.Outer$Middle$Inner inner = new mypackage.Outer$Middle$Inner(); >>> However, Eclipse (Indigo) compiler complains with the following message >>>> The nested type mypackage.Outer$Middle$Inner cannot be referenced using >>> Interestingly, the Java code above works when used with NetBeans 6.9.1. >>> Is this an issue with Eclipse compiler when using Scala classes? Or am I >> What Scala version are you using? Also, did you try: >> new mypackage.Outer$.Middle$.Inner(); >> -- You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||