Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Mismatch between compiler results of 2.10-RC1 Scala IDE and Scala compiler
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  14 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Peter  
View profile  
 More options Oct 26 2012, 3:05 pm
From: Peter <empen.sc...@gmail.com>
Date: Fri, 26 Oct 2012 12:05:36 -0700 (PDT)
Local: Fri, Oct 26 2012 3:05 pm
Subject: Mismatch between compiler results of 2.10-RC1 Scala IDE and Scala compiler

I'm experiencing differences regarding compiler errors when compiling the
same code base with

Scala 2.10.0-RC1 / SBT
and
Scala IDE 2.1.0 Milestone 2 for Eclipse 3.7 for Scala 2.10.0-RC1
(http://download.scala-ide.org/releases-210/milestone/org.scala-ide.sd...)

What am I missing?


 
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.
iulian dragos  
View profile  
 More options Oct 28 2012, 5:04 pm
From: iulian dragos <jagua...@gmail.com>
Date: Sun, 28 Oct 2012 22:03:46 +0100
Local: Sun, Oct 28 2012 5:03 pm
Subject: Re: [scala-ide-user] Mismatch between compiler results of 2.10-RC1 Scala IDE and Scala compiler

On Fri, Oct 26, 2012 at 9:05 PM, Peter <empen.sc...@gmail.com> wrote:
> I'm experiencing differences regarding compiler errors when compiling the
> same code base with

> Scala 2.10.0-RC1 / SBT
> and
> Scala IDE 2.1.0 Milestone 2 for Eclipse 3.7 for Scala 2.10.0-RC1 (
> http://download.scala-ide.org/releases-210/milestone/org.scala-ide.sd...
> )

> What am I missing?

What are the differences?

--
« Je déteste la montagne, ça cache le paysage »
Alphonse Allais


 
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.
Peter  
View profile  
 More options Oct 29 2012, 4:42 am
From: Peter <empen.sc...@gmail.com>
Date: Mon, 29 Oct 2012 01:42:39 -0700 (PDT)
Local: Mon, Oct 29 2012 4:42 am
Subject: Re: [scala-ide-user] Mismatch between compiler results of 2.10-RC1 Scala IDE and Scala compiler

Hi Iulian,

while the code base compiles fine in the Scala IDE, compiling it via SBT I
get

[error] not enough arguments for method 'findEntry': ...
[error] Unspecified value parameter 'correspond'

How could the cause of the distinct behavior detected? Do you need to
reproduce it or can I check some internals before?


 
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.
iulian dragos  
View profile  
 More options Oct 29 2012, 11:24 am
From: iulian dragos <jagua...@gmail.com>
Date: Mon, 29 Oct 2012 16:24:35 +0100
Local: Mon, Oct 29 2012 11:24 am
Subject: Re: [scala-ide-user] Mismatch between compiler results of 2.10-RC1 Scala IDE and Scala compiler

On Mon, Oct 29, 2012 at 9:42 AM, Peter <empen.sc...@gmail.com> wrote:
> Hi Iulian,

> while the code base compiles fine in the Scala IDE, compiling it via SBT I
> get

> [error] not enough arguments for method 'findEntry': ...
> [error] Unspecified value parameter 'correspond'

> How could the cause of the distinct behavior detected? Do you need to
> reproduce it or can I check some internals before?

It unexpected. Is `findEntry` a method that has default parameters? A
reproducible test case would for sure help!

iulian

--
« Je déteste la montagne, ça cache le paysage »
Alphonse Allais


 
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.
Peter  
View profile  
 More options Oct 29 2012, 4:41 pm
From: Peter <empen.sc...@gmail.com>
Date: Mon, 29 Oct 2012 13:41:50 -0700 (PDT)
Local: Mon, Oct 29 2012 4:41 pm
Subject: Re: [scala-ide-user] Mismatch between compiler results of 2.10-RC1 Scala IDE and Scala compiler

Iulian:

Is `findEntry` a method that has default parameters?

There are two overloaded versions of findEntry. The first is defined in
scala.collection.mutable.FlatHashTable, the other in
scalax.collection.mutable.ExtHashSet. Default parameters are not involved.

> A reproducible test case would for sure help!

Please find the code base mentioned at
http://subversion.assembla.com/svn/scala-graph/trunk

For compiling with the Scala IDE, you just need to place a project at
Core/src without any library dependencies.
For compiling with SBT 0.12.1, first refer to project/readMe.txt and then
execute on the SBT console

> project Graph-core
> compile

You'll find 11 significant [error] lines while warnings should be ignored
all together.

Thanks, Peter


 
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.
Peter  
View profile  
 More options Oct 30 2012, 3:02 am
From: Peter <empen.sc...@gmail.com>
Date: Tue, 30 Oct 2012 00:02:20 -0700 (PDT)
Local: Tues, Oct 30 2012 3:02 am
Subject: Re: [scala-ide-user] Mismatch between compiler results of 2.10-RC1 Scala IDE and Scala compiler

Sorry, I forgot to mention that, preparing SBT compile, you also need to
set scala_2_9 to false in Version.scala.


 
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.
Peter  
View profile  
 More options Nov 4 2012, 12:12 pm
From: Peter <empen.sc...@gmail.com>
Date: Sun, 4 Nov 2012 09:12:40 -0800 (PST)
Local: Sun, Nov 4 2012 12:12 pm
Subject: Re: [scala-ide-user] Mismatch between compiler results of 2.10-RC1 Scala IDE and Scala compiler

I can now tell the specific reason for the error reported by the SBT
compilation:
https://groups.google.com/forum/?fromgroups=#!topic/scala-internals/m....

But I still cannot explain the difference between Scala IDE, not detecting
any error, and Scala.


 
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.
Mirco Dotta  
View profile  
 More options Nov 4 2012, 12:18 pm
From: Mirco Dotta <mirco.do...@typesafe.com>
Date: Sun, 4 Nov 2012 18:17:51 +0100
Local: Sun, Nov 4 2012 12:17 pm
Subject: Re: [scala-ide-user] Mismatch between compiler results of 2.10-RC1 Scala IDE and Scala compiler

On Nov 4, 2012, at 6:12 PM, Peter wrote:

> I can now tell the specific reason for the error reported by the SBT compilation: https://groups.google.com/forum/?fromgroups=#!topic/scala-internals/m....

> But I still cannot explain the difference between Scala IDE, not detecting any error, and Scala.

Maybe a mismatch between the Scala library version used in your Sbt build definition and the one in the IDE (i.e., Scala 2.10.0-RC1).

-- Mirco


 
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.
Peter  
View profile  
 More options Nov 4 2012, 12:44 pm
From: Peter <empen.sc...@gmail.com>
Date: Sun, 4 Nov 2012 09:44:54 -0800 (PST)
Local: Sun, Nov 4 2012 12:44 pm
Subject: Re: [scala-ide-user] Mismatch between compiler results of 2.10-RC1 Scala IDE and Scala compiler

> Maybe a mismatch between the Scala library version used in your Sbt build
> definition and the one in the IDE (i.e., Scala 2.10.0-RC1).

> I've never set any specific version to the Scala Library either in Eclipse

or in SBT. Do I have to? I'm just setting the compiler version.
In SBT, scala-version == scala-binary-version == 2.10.0-RC1

SBT also reports:
[warn] Binary version (2.10) for dependency
org.scala-lang#scala-library;2.10.0-RC1
[warn]  in com.assembla.scala-incubator#graph-core_2.10.0-RC1;1.5.2 differs
from Scala binary version in project (2.10.0
-RC1).


 
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.
Peter  
View profile  
 More options Nov 4 2012, 12:59 pm
From: Peter <empen.sc...@gmail.com>
Date: Sun, 4 Nov 2012 09:59:41 -0800 (PST)
Local: Sun, Nov 4 2012 12:59 pm
Subject: Re: [scala-ide-user] Mismatch between compiler results of 2.10-RC1 Scala IDE and Scala compiler

Mirco, just the other way round: I have a bad reference to the 2.10.0-M7
Scala Library in Eclipse!


 
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.
Mirco Dotta  
View profile  
 More options Nov 4 2012, 1:00 pm
From: Mirco Dotta <mirco.do...@typesafe.com>
Date: Sun, 4 Nov 2012 19:00:33 +0100
Local: Sun, Nov 4 2012 1:00 pm
Subject: Re: [scala-ide-user] Mismatch between compiler results of 2.10-RC1 Scala IDE and Scala compiler

On Nov 4, 2012, at 6:44 PM, Peter wrote:

> Maybe a mismatch between the Scala library version used in your Sbt build definition and the one in the IDE (i.e., Scala 2.10.0-RC1).

> I've never set any specific version to the Scala Library either in Eclipse or in SBT. Do I have to? I'm just setting the compiler version.
> In SBT, scala-version == scala-binary-version == 2.10.0-RC1

In Sbt, by setting the scala-version, you are effectively setting both the Scala library and compiler version. In Eclipse, the answer depends
on how you configured your project's classpath: make sure you only have one scala-library.jar, and that its version is indeed 2.10.0-RC1.


 
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.
Mirco Dotta  
View profile  
 More options Nov 4 2012, 1:02 pm
From: Mirco Dotta <mirco.do...@typesafe.com>
Date: Sun, 4 Nov 2012 19:02:45 +0100
Local: Sun, Nov 4 2012 1:02 pm
Subject: Re: [scala-ide-user] Mismatch between compiler results of 2.10-RC1 Scala IDE and Scala compiler
Great! Then, you did not really update to the latest M2 for Scala 2.10.0-RC1 ;-)

On Nov 4, 2012, at 6:59 PM, Peter wrote:


 
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.
Peter  
View profile  
 More options Nov 4 2012, 1:15 pm
From: Peter <empen.sc...@gmail.com>
Date: Sun, 4 Nov 2012 10:15:17 -0800 (PST)
Local: Sun, Nov 4 2012 1:15 pm
Subject: Re: [scala-ide-user] Mismatch between compiler results of 2.10-RC1 Scala IDE and Scala compiler

Eclipse Installation Details:
Scala IDE for Eclipse    2.1.0.m2-2_10-201209130850-f6ab297

Plugin from:
http://scala-ide.org/download/milestone.html#scala_ide_21_milestone_2
via zip
http://download.scala-ide.org/releases-210/milestone/org.scala-ide.sd...
titled "For Scala 2.10.0-RC1"

Is that not correct for RC1?


 
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.
Mirco Dotta  
View profile  
 More options Nov 4 2012, 1:27 pm
From: Mirco Dotta <mirco.do...@typesafe.com>
Date: Sun, 4 Nov 2012 19:27:31 +0100
Local: Sun, Nov 4 2012 1:27 pm
Subject: Re: [scala-ide-user] Mismatch between compiler results of 2.10-RC1 Scala IDE and Scala compiler
The moment Scala 2.10.0-RC1 we have released an updated M2 bundled with Scala 2.10.0-RC1.

However, the zip file http://download.scala-ide.org/releases-210/milestone/org.scala-ide.sd...
was NOT updated. That's why you are getting the old Scala library, it's our mistake.

Please, file a ticket on our issue tracker (https://scala-ide-portfolio.assembla.com/spaces/scala-ide/support/tic...)
and, use the following update site to get the Scala IDE M2 with Scala 2.10.0-RC1:

        http://download.scala-ide.org/sdk/e37/scala210/dev/site/

Sorry for the trouble that this caused.

-- Mirco

On Nov 4, 2012, at 7:15 PM, Peter wrote:


 
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.
End of messages
« Back to Discussions « Newer topic     Older topic »