Account Options

  1. Anmelden
Das alte Google Groups wird demnächst nicht mehr unterstützt. Die neue Version ist jedoch nicht kompatibel mit Ihrem Browser.
Google Groups-Startseite
« Google Groups-Startseite
Scala 2.10.0 RC2
Gegenwärtig gibt es mehrere Themen in dieser Gruppe, die zuerst angezeigt werden sollen. Damit dieses Thema zuerst angezeigt werden kann, muss diese Option bei einem anderen Thema entfernt werden.
Bei der Bearbeitung Ihrer Anfrage ist ein Fehler aufgetreten. Versuchen Sie es erneut.
Kennzeichnen
  12 Nachrichten - Alle ausblenden  -  Alles übersetzen in die Sprache: Übersetzt (alle Originale anzeigen)
Bei der Gruppe, für die Sie eine Mitteilung verfassen, handelt es sich um eine Usenet-Gruppe. Wenn Sie in dieser Gruppe Nachrichten posten, ist Ihre E-Mail-Adresse für jeden im Internet sichtbar
Ihre Antwort wurde nicht gesendet.
Die Nachricht wurde übermittelt.
 
Von:
An:
Cc:
Nachtrag zu:
Cc hinzufügen | Nachtrag hinzufügen zu | Betreff bearbeiten
Betreff:
Bestätigung:
Geben Sie zur Bestätigung die im folgenden Bild angezeigten Zeichen ein bzw. die Zahlen, die durchgesagt werden, wenn Sie auf das Barrierefreiheitssymbol klicken. Hören Sie zu und geben Sie die gehörten Zahlen ein
 
Antonio Cunei  
Profil anzeigen   Übersetzen in die Sprache: Übersetzt (Original anzeigen)
 Weitere Optionen 9 Nov. 2012, 05:12
Von: Antonio Cunei <antonio.cu...@epfl.ch>
Datum: Fri, 09 Nov 2012 11:11:34 +0100
Lokal: Fr. 9 Nov. 2012 05:11
Betreff: Scala 2.10.0 RC2

We are happy to announce the second Release Candidate in the Scala
2.10.x series:2.10.0 RC2 <http://www.scala-lang.org/downloads#RC>. This
RC2 release candidate is made available for testing purposes and is not
intended for production environments: a final 2.10.0 release will follow
at the end of the RC cycle. Please help us with the testing of this
candidate, and let us know of any issues that you may encounter.

      New in this Release Candidate

This is the second RC of Scala 2.10.0 release. This release comes with a
few new shiny features, notably:

  * Value Classes
      o http://docs.scala-lang.org/overviews/core/value-classes.html
  * Implicit Classes
      o http://docs.scala-lang.org/sips/pending/implicit-classes.html
  * String Interpolation
      o http://docs.scala-lang.org/overviews/core/string-interpolation.html
  * Futures and Promises
      o http://docs.scala-lang.org/overviews/core/futures.html
  * Parallel Collections are now configurable with custom thread pools
      o http://docs.scala-lang.org/overviews/parallel-collections/overview.html
  * New ByteCode emitter based on ASM
      o Can target JDK 1.5, 1.6 and 1.7
      o Emits 1.6 bytecode by default
      o Old 1.5 backend is deprecated
  * Dynamic Types no longer experimental
      o http://docs.scala-lang.org/sips/pending/type-dynamic.html
  * Improved Pattern Matcher
  * Modularized Language features
      o http://docs.scala-lang.org/sips/pending/modularizing-language-feature...
  * Scala Reflection (Experimental)
      o https://docs.google.com/document/d/1Z1VhhNPplbUpaZPIYdc0_EUv5RiGQ2X4o...
  * Macros (Experimental)
      o http://docs.scala-lang.org/sips/pending/self-cleaning-macros.html
  * Scaladoc Improvements
      o Implicits (-implicits flag)
      o Diagrams (-diagrams flag, requires graphviz)
      o Groups (-groups)
  * Akka Actors now included in distribution
      o Scala actors library deprecated in favor of Akka
      o *Actors migration library included (version 1.0.0-RC2)*to ease
        migration from Scala -> Akka
        See theactors migration project
        <http://docs.scala-lang.org/actors-migration/>for more information.
  * Deprecations and cleanup
      o Floating point and octal literal syntax deprecation
      o Removal of scala.dbc
  * Performance Improvements
      o Faster inliner
      o Range#sum is now O(1)
      o Update of ForkJoin library
      o Fixes in immutable TreeSet/TreeMap
      o Improvements to PartialFunctions
  * Addition of ??? and NotImplemented Error
  * Addition of IsTraversableOnce + IsTraversableLike type classes for
    extension methods

  Community Projects

Special thanks to the 15 projects that have made releases available for
this version of Scala!

  * *Slick* <http://slick.typesafe.com/>
    Scala Language-Integrated Connection Kit
    Location: "com.typesafe" % "slick_2.10.0-RC2" % "0.11.2"

  * *specs2* <http://specs2.org/>
    specs2 is a library for writing executable software specifications
    for Scala
    Location: "org.specs2" % "specs2_2.10.0-RC2" % "1.12.2"
    "org.specs2" % "specs2_2.10.0-RC2" % "1.13-SNAPSHOT"

  * *ScalaTest* <http://scalatest.org/>
    Simple, clear tests and executable specifications
    Location:
    For ScalaTest 1.8: "org.scalatest" %% "scalatest" % "1.8"
    For ScalaTest 2.0.M4: "org.scalatest" %% "scalatest" % "2.0.M4"

  * *ScalaMock 3* <http://scalamock.org/>
    Native Scala Mocking with added macro-goodness
    Location:
    For ScalaTest integration: "org.scalamock" %
    "scalamock-scalatest-support_2.10.0-RC2" % "3.0-M6"
    For Specs2 integration: "org.scalamock" %
    "scalamock-specs2-support_2.10.0-RC2" % "3.0-M6"

  * *Spire* <https://github.com/non/spire>
    Powerful new number types and numeric abstractions for Scala.
    Location: "org.spire-math" % "spire_2.10.0-RC2" % "0.3.0-M4"

  * *ScalaLogging* <https://github.com/typesafehub/scalalogging>
    Convenient and performant logging in Scala
    Location:
    "com.typesafe" % "scalalogging-slf4j_2.10.0-RC1" % "0.4.0" or
    "com.typesafe" %% "scalalogging-slf4j" % "0.4.0" cross CrossVersion.full

  * *ScalaSTM* <http://nbronson.github.com/scala-stm/>
    Software transactional memory for Scala, plus STM-friendly
    concurrent sets and maps
    Location: "org.scala-stm" %% "scala-stm" % "0.6"

  * *scalaz* <http://code.google.com/p/scalaz/>
    Type Classes and Pure Functional Data Structures for Scala
    Location: "org.scalaz" % "scalaz-core_2.10.0-RC2" % "7.0-M4"
    Location: "org.scalaz" % "scalaz-core_2.10.0-RC2" % "6.0.4"

  * *Squeryl* <http://squeryl.org/>
    A Scala DSL for talking with relational databases with minimum
    verbosity and maximum type safety
    Location: "org.squeryl" % "squeryl_2.10.0-RC2" % "0.9.5-4"

  * *shapeless* <https://github.com/milessabin/shapeless>
    An exploration of generic/polytypic programming in Scala
    Location: "com.chuusai" % "shapeless_2.10.0-RC2" % "1.2.3-SNAPSHOT"

  * *Graph for Scala* <https://www.assembla.com/spaces/scala-graph/wiki>
    In-memory graph library seamlessly fitting into the Scala Collection
    Library
    Location: "com.assembla.scala-incubator" % "graph-core_2.10.0-RC2" %
    "1.5.2"

  * *ScalaTest* <http://scalatest.org/>
    Simple, clear tests and executable specifications
    Location:
    For ScalaTest 1.8: "org.scalatest" % "scalatest_2.10.0-RC2" % "1.8-B2"
    For ScalaTest 2.0.M4: "org.scalatest" % "scalatest_2.10.0-RC2" %
    "2.0.M4-B2"

  * *Kiama* <http://kiama.googlecode.com/>
    Kiama is a Scala library for language processing
    Location: "com.googlecode.kiama" % "kiama_2.10.0-RC2" % "1.4.0-B3"

  * *Scales Xml* <https://github.com/chris-twiner/scalesXml>
    Scales Xml provides superb performance with low memory usage, a
    unified pull and push model, Iteratee and Iterator based pull
    parsing, equality framework, both an embedded XPath DSL and string
    based XPath 1.0 support.
    Location: "org.scalesxml" % "scales-xml_2.10.0-RC2" % "0.4.4"

  * *Akka* <http://akka.io/>
    Akka is a toolkit and runtime for building highly concurrent,
    distributed, and fault tolerant event-driven applications on the JVM.
    Location:
    "com.typesafe.akka" % "akka-actor_2.10.0-RC2" % "2.1.0-RC2" or
    "com.typesafe.akka" %% "akka-actor" % "2.1.0-RC2" cross
    CrossVersion.full
    "com.typesafe.akka" % "akka-actor-tests_2.10.0-RC2" % "2.1.0-RC2" or
    "com.typesafe.akka" %% "akka-actor-tests" % "2.1.0-RC2" cross
    CrossVersion.full
    "com.typesafe.akka" % "akka-agent_2.10.0-RC2" % "2.1.0-RC2" or
    "com.typesafe.akka" %% "akka-agent" % "2.1.0-RC2" cross
    CrossVersion.full
    "com.typesafe.akka" % "akka-camel_2.10.0-RC2" % "2.1.0-RC2" or
    "com.typesafe.akka" %% "akka-camel" % "2.1.0-RC2" cross
    CrossVersion.full
    "com.typesafe.akka" % "akka-cluster-experimental_2.10.0-RC2" %
    "2.1.0-RC2" or
    "com.typesafe.akka" %% "akka-cluster-experimental" % "2.1.0-RC2"
    cross CrossVersion.full
    "com.typesafe.akka" % "akka-contrib_2.10.0-RC2" % "2.1.0-RC2" or
    "com.typesafe.akka" %% "akka-contrib" % "2.1.0-RC2" cross
    CrossVersion.full
    "com.typesafe.akka" % "akka-dataflow_2.10.0-RC2" % "2.1.0-RC2" or
    "com.typesafe.akka" %% "akka-dataflow" % "2.1.0-RC2" cross
    CrossVersion.full
    "com.typesafe.akka" % "akka-docs_2.10.0-RC2" % "2.1.0-RC2" or
    "com.typesafe.akka" %% "akka-docs" % "2.1.0-RC2" cross CrossVersion.full
    "com.typesafe.akka" % "akka-file-mailbox_2.10.0-RC2" % "2.1.0-RC2" or
    "com.typesafe.akka" %% "akka-file-mailbox" % "2.1.0-RC2" cross
    CrossVersion.full
    "com.typesafe.akka" % "akka-kernel_2.10.0-RC2" % "2.1.0-RC2" or
    "com.typesafe.akka" %% "akka-kernel" % "2.1.0-RC2" cross
    CrossVersion.full
    "com.typesafe.akka" % "akka-mailboxes-common_2.10.0-RC2" %
    "2.1.0-RC2" or
    "com.typesafe.akka" %% "akka-mailboxes-common" % "2.1.0-RC2" cross
    CrossVersion.full
    "com.typesafe.akka" % "akka-osgi_2.10.0-RC2" % "2.1.0-RC2" or
    "com.typesafe.akka" %% "akka-osgi" % "2.1.0-RC2" cross CrossVersion.full
    "com.typesafe.akka" % "akka-osgi-aries_2.10.0-RC2" % "2.1.0-RC2" or
    "com.typesafe.akka" %% "akka-osgi-aries" % "2.1.0-RC2" cross
    CrossVersion.full
    "com.typesafe.akka" % "akka-remote_2.10.0-RC2" % "2.1.0-RC2" or
    "com.typesafe.akka" %% "akka-remote" % "2.1.0-RC2" cross
    CrossVersion.full
    "com.typesafe.akka" % "akka-remote-tests-experimental_2.10.0-RC2" %
    "2.1.0-RC2" or
    "com.typesafe.akka" %% "akka-remote-tests-experimental" %
    "2.1.0-RC2" cross CrossVersion.full
    "com.typesafe.akka" % "akka-sample-camel_2.10.0-RC2" % "2.1.0-RC2" or
    "com.typesafe.akka" %% "akka-sample-camel" % "2.1.0-RC2" cross
    CrossVersion.full
    "com.typesafe.akka" % "akka-sample-cluster-experimental_2.10.0-RC2"
    % "2.1.0-RC2" or
    "com.typesafe.akka" %% "akka-sample-cluster-experimental" %
    "2.1.0-RC2" cross CrossVersion.full
    "com.typesafe.akka" % "akka-sample-fsm_2.10.0-RC2" % "2.1.0-RC2" or
    "com.typesafe.akka" %% "akka-sample-fsm" % "2.1.0-RC2" cross
    CrossVersion.full
    "com.typesafe.akka" % "akka-sample-hello_2.10.0-RC2" % "2.1.0-RC2" or
    "com.typesafe.akka" %% "akka-sample-hello" % "2.1.0-RC2" cross
    CrossVersion.full
    "com.typesafe.akka" % "akka-sample-hello-kernel_2.10.0-RC2" %
    "2.1.0-RC2" or
    "com.typesafe.akka" %% "akka-sample-hello-kernel" % "2.1.0-RC2"
    cross CrossVersion.full
    "com.typesafe.akka" %
    "akka-sample-multi-node-experimental_2.10.0-RC2" % "2.1.0-RC2" or
    "com.typesafe.akka" %% "akka-sample-multi-node-experimental" %
    "2.1.0-RC2" cross CrossVersion.full
    "com.typesafe.akka" % "akka-sample-remote_2.10.0-RC2" % "2.1.0-RC2" or
    "com.typesafe.akka" %%
...

Erfahren Sie mehr »


 
Sie müssen sich anmelden, bevor Sie Nachrichten veröffentlichen können.
Bevor Sie eine Nachricht posten können, müssen Sie zunächst dieser Gruppe beitreten.
Bitte aktualisieren Sie vor dem Posten in den Abonnementeinstellungen Ihren Spitznamen.
Sie haben nicht die erforderliche Berechtigung zum Posten.
Hanns Holger Rutz  
Profil anzeigen   Übersetzen in die Sprache: Übersetzt (Original anzeigen)
 Weitere Optionen 9 Nov. 2012, 06:36
Von: Hanns Holger Rutz <cont...@sciss.de>
Datum: Fri, 9 Nov 2012 12:37:41 +0100
Lokal: Fr. 9 Nov. 2012 06:37
Betreff: Re: [scala-language] Scala 2.10.0 RC2
hi there,

good news. i'm a bit late to the game with my libraries, but i'm trying to publish them now. i have a few dependencies for which no RC2 builds exists (e.g. scopt) -- is RC2 binary compatible to RC1?

best, .hh.

On 9 Nov 2012, at 11:11, Antonio Cunei wrote:

> We are happy to announce the second Release Candidate in the Scala 2.10.x series: 2.10.0 RC2. This RC2 release candidate is made available for testing purposes and is not intended for production environments: a final 2.10.0 release will follow at the end of the RC cycle. Please help us with the testing of this candidate, and let us know of any issues that you may encounter.

> New in this Release Candidate

...

 
Sie müssen sich anmelden, bevor Sie Nachrichten veröffentlichen können.
Bevor Sie eine Nachricht posten können, müssen Sie zunächst dieser Gruppe beitreten.
Bitte aktualisieren Sie vor dem Posten in den Abonnementeinstellungen Ihren Spitznamen.
Sie haben nicht die erforderliche Berechtigung zum Posten.
Josh Suereth  
Profil anzeigen   Übersetzen in die Sprache: Übersetzt (Original anzeigen)
 Weitere Optionen 9 Nov. 2012, 07:40
Von: Josh Suereth <joshua.suer...@gmail.com>
Datum: Fri, 9 Nov 2012 07:39:58 -0500
Lokal: Fr. 9 Nov. 2012 07:39
Betreff: Re: [scala-language] Scala 2.10.0 RC2

No guarantees on BC for this RC cycle.   After we have a 2.10.0, everything
remains BC with that.

Note:  I think I saw scopt just pushed a 2.10.0 -RC2

Hope that helps.
On Nov 9, 2012 6:36 AM, "Hanns Holger Rutz" <cont...@sciss.de> wrote:


 
Sie müssen sich anmelden, bevor Sie Nachrichten veröffentlichen können.
Bevor Sie eine Nachricht posten können, müssen Sie zunächst dieser Gruppe beitreten.
Bitte aktualisieren Sie vor dem Posten in den Abonnementeinstellungen Ihren Spitznamen.
Sie haben nicht die erforderliche Berechtigung zum Posten.
Eugene Yokota  
Profil anzeigen   Übersetzen in die Sprache: Übersetzt (Original anzeigen)
 Weitere Optionen 9 Nov. 2012, 09:51
Von: Eugene Yokota <eed3s...@gmail.com>
Datum: Fri, 9 Nov 2012 06:51:49 -0800 (PST)
Lokal: Fr. 9 Nov. 2012 09:51
Betreff: Re: [scala-language] Scala 2.10.0 RC2

Yes, scopt 2.1.0 for 2.10.0-RC2 was pushed to sonatype last night (also
late to the game).
In a while it should also be available from maven central too.

-eugene


 
Sie müssen sich anmelden, bevor Sie Nachrichten veröffentlichen können.
Bevor Sie eine Nachricht posten können, müssen Sie zunächst dieser Gruppe beitreten.
Bitte aktualisieren Sie vor dem Posten in den Abonnementeinstellungen Ihren Spitznamen.
Sie haben nicht die erforderliche Berechtigung zum Posten.
Hanns Holger Rutz  
Profil anzeigen   Übersetzen in die Sprache: Übersetzt (Original anzeigen)
 Weitere Optionen 9 Nov. 2012, 12:41
Von: Hanns Holger Rutz <cont...@sciss.de>
Datum: Fri, 9 Nov 2012 18:43:04 +0100
Lokal: Fr. 9 Nov. 2012 12:43
Betreff: Re: [scala-language] Scala 2.10.0 RC2
Ok, here are my updates. Online at https://oss.sonatype.org/content/repositories/releases/de/sciss/ --> should appear in maven central soon.

best, .h.h.

Name: ScalaInterpreterPane
Description:   A Swing based front-end for the Scala REPL (interpreter)
URL:  https://github.com/Sciss/ScalaInterpreterPane
Location:    "de.sciss" %% "scalainterpreterpane" % "1.2.+"
Resolvers needed for dependencies:    "Clojars Repository" at "http://clojars.org/repo"

Name: AudioWidgets
Description:   Specialized Swing widgets for audio applications in Scala
URL:  https://github.com/Sciss/AudioWidgets
Location:    "de.sciss" %% "audiowidgets" % "1.0.+"

Name: ScalaAudioWidgets
Description:   Scala-Swing wrappers for the AudioWidgets library
URL:  https://github.com/Sciss/ScalaAudioWidgets
Location:    "de.sciss" %% "scalaaudiowidgets" % "1.0.+"

Name: ScalaAudioFile
Description:   A library to read and write uncompressed audio files (AIFF, WAVE, etc.)
URL:  https://github.com/Sciss/ScalaAudioFile
Location:    "de.sciss" %% "scalaaudiofile" % "1.0.+"

Name: ScalaOSC
Description:   A library for OpenSoundControl (OSC), a message protocol used in multi-media applications.
URL:  https://github.com/Sciss/ScalaOSC
Location:    "de.sciss" %% "scalaosc" % "1.0.+"

Name: ScalaCollider
Description:   A sound synthesis library for the SuperCollider server
URL:  https://github.com/Sciss/ScalaCollider
Location:    "de.sciss" %% "scalacollider" % "1.1.+"

Name: ScalaColliderSwing
Description:   A Swing and REPL front-end for ScalaCollider
URL:  https://github.com/Sciss/ScalaColliderSwing
Location:    "de.sciss" %% "scalacolliderswing" % "1.1.+"
Resolvers needed for dependencies:    "Clojars Repository" at "http://clojars.org/repo"

Name: FingerTree
Description:   A Scala implementation of the versatile purely functional data structure of the same name.
URL:  https://github.com/Sciss/FingerTree
Location:    "de.sciss" %% "fingertree" % "1.0.+"

Name: ScissDSP
Description:   Collection of DSP algorithms and components for Scala
URL:  https://github.com/Sciss/ScissDSP
Location:    "de.sciss" %% "scissdsp" % "1.1.+"

Name: SonogramOverview
Description:   Sonogram view component for Scala/Swing, calculating offline from audio files
URL:  https://github.com/Sciss/SonogramOverview
Location:    "de.sciss" %% "sonogramoverview" % "1.1.+"

Name: Strugatzki
Description:   Algorithms for extracting audio features and matching audio file similarities
URL:  https://github.com/Sciss/Strugatzki
Location:    "de.sciss" %% "strugatzki" % "1.1.+"

Name: FScapeJobs
Description:   A library to launch digital signal processing jobs for FScape via OSC
URL:  https://github.com/Sciss/FScapeJobs
Location:    "de.sciss" %% "fscapejobs" % "1.0.+"

Name: LucreSTM
Description:   Extension of Scala-STM, adding optional durability layer, and providing API for confluent and reactive event layers
URL:  https://github.com/Sciss/LucreSTM
Location:    "de.sciss" %% "lucrestm" % "1.4.+"
Resolvers needed for dependencies:    "Oracle Repository" at "http://download.oracle.com/maven"

Name: LucreData
Description:   Transactional data structures (skip list, skip octree, total order) for Scala
URL:  https://github.com/Sciss/LucreData
Location:    "de.sciss" %% "lucredata" % "1.4.+"
  just core: "de.sciss" %% "lucredata-core" % "1.4.+"
  just gui:  "de.sciss" %% "lucredata-views" % "1.4.+"
Resolvers needed for dependencies:    "Oracle Repository" at "http://download.oracle.com/maven"

Name: LucreConfluent
Description:   Confluently persistent references for Scala
URL:  https://github.com/Sciss/LucreConfluent
Location:    "de.sciss" %% "lucreconfluent" % "1.4.+"
Resolvers needed for dependencies:    "Oracle Repository" at "http://download.oracle.com/maven"

Name: LucreEvent
Description:   Reactive event-system for LucreSTM
URL:  https://github.com/Sciss/LucreEvent
Location:    "de.sciss" %% "lucreevent" % "1.4.+"
Resolvers needed for dependencies:    "Oracle Repository" at "http://download.oracle.com/maven"

Name: LucreExpr
Description:   Reactive Expression Trees based on LucreSTM
URL:  https://github.com/Sciss/LucreExpr
Location:    "de.sciss" %% "lucreexpr" % "1.4.+"
Resolvers needed for dependencies:    "Oracle Repository" at "http://download.oracle.com/maven"

Name: ConfluentReactive
Description:   Confluent persistence and quasi-retroactive / fluent references for Scala
URL:  https://github.com/Sciss/ConfluentReactive
Location:    "de.sciss" %% "confluentreactive" % "1.4.+"
Resolvers needed for dependencies:    "Oracle Repository" at "http://download.oracle.com/maven"

Name: SoundProcesses
Description:   A framework for creating and managing ScalaCollider based sound processes
URL:  https://github.com/Sciss/SoundProcesses
Location:    "de.sciss" %% "soundprocesses" % "1.1.+"
Resolvers needed for dependencies:    "Oracle Repository" at "http://download.oracle.com/maven"

On 9 Nov 2012, at 12:37, Hanns Holger Rutz wrote:


 
Sie müssen sich anmelden, bevor Sie Nachrichten veröffentlichen können.
Bevor Sie eine Nachricht posten können, müssen Sie zunächst dieser Gruppe beitreten.
Bitte aktualisieren Sie vor dem Posten in den Abonnementeinstellungen Ihren Spitznamen.
Sie haben nicht die erforderliche Berechtigung zum Posten.
Blair Zajac  
Profil anzeigen   Übersetzen in die Sprache: Übersetzt (Original anzeigen)
 Weitere Optionen 10 Nov. 2012, 00:02
Von: Blair Zajac <bl...@orcaware.com>
Datum: Fri, 9 Nov 2012 21:02:24 -0800 (PST)
Lokal: Sa 10 Nov. 2012 00:02
Betreff: Re: Scala 2.10.0 RC2

Starting to check out my projects on 2.10.0-RC2 and the following is
trimmed from code in Scala Migrations where 2.10 has different behavior:

sealed trait ColumnOption
case object NotNull extends ColumnOption
case object PrimaryKey extends ColumnOption

object test
{
  def main(args: Array[String]) {
    val l = List(PrimaryKey, NotNull)
    for (option @ NotNull <- l) println("Found " + option)
  }

}

$ for f in 2.7 2.8 2.9 2.10; do echo $f; scalac-$f t.scala && scala-$f
test; done
2.7
Found NotNull
2.8
Found NotNull
2.9
Found NotNull
2.10
scala.MatchError: PrimaryKey (of class PrimaryKey$)
    at test$$anonfun$main$1.apply(t.scala:9)
    at test$$anonfun$main$1.apply(t.scala:9)
    at scala.collection.immutable.List.foreach(List.scala:309)
    at test$.main(t.scala:9)
    at test.main(t.scala)

Removing the "option @" and not using the "option" symbol:

    for (NotNull <- l) println("Found " + NotNull)

then gets it to compile, but NotNull now shadows the case object,
generating output:

2.7
Found PrimaryKey
Found NotNull
2.8
Found PrimaryKey
Found NotNull
2.9
Found PrimaryKey
Found NotNull
2.10
Found PrimaryKey
Found NotNull

So this isn't obvious that naming the iterator value with @ would change
the behavior.  Compared to this, neither the old nor new behavior seems to
make sense, but which one is more correct?  I took the <- here to
implicitly filter on the type of objects coming from the list.

Thanks,
Blair


 
Sie müssen sich anmelden, bevor Sie Nachrichten veröffentlichen können.
Bevor Sie eine Nachricht posten können, müssen Sie zunächst dieser Gruppe beitreten.
Bitte aktualisieren Sie vor dem Posten in den Abonnementeinstellungen Ihren Spitznamen.
Sie haben nicht die erforderliche Berechtigung zum Posten.
Jason Zaugg  
Profil anzeigen   Übersetzen in die Sprache: Übersetzt (Original anzeigen)
 Weitere Optionen 10 Nov. 2012, 03:49
Von: Jason Zaugg <jza...@gmail.com>
Datum: Sat, 10 Nov 2012 09:48:56 +0100
Lokal: Sa 10 Nov. 2012 03:48
Betreff: Re: [scala-language] Re: Scala 2.10.0 RC2

On Sat, Nov 10, 2012 at 6:02 AM, Blair Zajac <bl...@orcaware.com> wrote:
> Starting to check out my projects on 2.10.0-RC2 and the following is
> trimmed from code in Scala Migrations where 2.10 has different behavior

Thanks for the small reproduction.

The behaviour changed:

  https://github.com/scala/scala/commit/c82ecaba

I'm not sure yet if it's a bug or feature. I'll figure this out and lodge a
ticket.

-jason


 
Sie müssen sich anmelden, bevor Sie Nachrichten veröffentlichen können.
Bevor Sie eine Nachricht posten können, müssen Sie zunächst dieser Gruppe beitreten.
Bitte aktualisieren Sie vor dem Posten in den Abonnementeinstellungen Ihren Spitznamen.
Sie haben nicht die erforderliche Berechtigung zum Posten.
Jason Zaugg  
Profil anzeigen   Übersetzen in die Sprache: Übersetzt (Original anzeigen)
 Weitere Optionen 10 Nov. 2012, 07:18
Von: Jason Zaugg <jza...@gmail.com>
Datum: Sat, 10 Nov 2012 13:18:09 +0100
Lokal: Sa 10 Nov. 2012 07:18
Betreff: Re: [scala-language] Re: Scala 2.10.0 RC2

On Sat, Nov 10, 2012 at 9:48 AM, Jason Zaugg <jza...@gmail.com> wrote:
> I'm not sure yet if it's a bug or feature. I'll figure this out and lodge
> a ticket.

Ticket and a patch:

https://issues.scala-lang.org/browse/SI-6646

-jason


 
Sie müssen sich anmelden, bevor Sie Nachrichten veröffentlichen können.
Bevor Sie eine Nachricht posten können, müssen Sie zunächst dieser Gruppe beitreten.
Bitte aktualisieren Sie vor dem Posten in den Abonnementeinstellungen Ihren Spitznamen.
Sie haben nicht die erforderliche Berechtigung zum Posten.
Daniel Sobral  
Profil anzeigen   Übersetzen in die Sprache: Übersetzt (Original anzeigen)
 Weitere Optionen 10 Nov. 2012, 09:26
Von: Daniel Sobral <dcsob...@gmail.com>
Datum: Sat, 10 Nov 2012 12:26:25 -0200
Lokal: Sa 10 Nov. 2012 09:26
Betreff: Re: [scala-language] Re: Scala 2.10.0 RC2

IMHO, it is a bug. Pattern match on for comprehension works slightly
different than normal pattern matching, which makes 2.10 behavior incorrect.
Em 10/11/2012 03:02, "Blair Zajac" <bl...@orcaware.com> escreveu:


 
Sie müssen sich anmelden, bevor Sie Nachrichten veröffentlichen können.
Bevor Sie eine Nachricht posten können, müssen Sie zunächst dieser Gruppe beitreten.
Bitte aktualisieren Sie vor dem Posten in den Abonnementeinstellungen Ihren Spitznamen.
Sie haben nicht die erforderliche Berechtigung zum Posten.
Josh Suereth  
Profil anzeigen   Übersetzen in die Sprache: Übersetzt (Original anzeigen)
 Weitere Optionen 10 Nov. 2012, 13:17
Von: Josh Suereth <joshua.suer...@gmail.com>
Datum: Sat, 10 Nov 2012 13:17:11 -0500
Lokal: Sa 10 Nov. 2012 13:17
Betreff: Re: [scala-language] Re: Scala 2.10.0 RC2

My view as well.
On Nov 10, 2012 9:26 AM, "Daniel Sobral" <dcsob...@gmail.com> wrote:


 
Sie müssen sich anmelden, bevor Sie Nachrichten veröffentlichen können.
Bevor Sie eine Nachricht posten können, müssen Sie zunächst dieser Gruppe beitreten.
Bitte aktualisieren Sie vor dem Posten in den Abonnementeinstellungen Ihren Spitznamen.
Sie haben nicht die erforderliche Berechtigung zum Posten.
Blair Zajac  
Profil anzeigen   Übersetzen in die Sprache: Übersetzt (Original anzeigen)
 Weitere Optionen 13 Nov. 2012, 13:56
Von: Blair Zajac <bl...@orcaware.com>
Datum: Tue, 13 Nov 2012 10:56:30 -0800 (PST)
Lokal: Di 13 Nov. 2012 13:56
Betreff: Re: Scala 2.10.0 RC2

I published Scala Migrations for 2.10.0-RC2 with a coding change to avoid
[1].  Use

"com.imageworks.scala-migrations" %% "scala-migrations" % "1.0.3"

How does one get pre-notified of a new RC release to build ones packages to
be included in the next announcement email?  A description to use for the
next announcement: "Database migrations written in a Scala DSL."

Thanks,
Blair

[1] https://issues.scala-lang.org/browse/SI-6646


 
Sie müssen sich anmelden, bevor Sie Nachrichten veröffentlichen können.
Bevor Sie eine Nachricht posten können, müssen Sie zunächst dieser Gruppe beitreten.
Bitte aktualisieren Sie vor dem Posten in den Abonnementeinstellungen Ihren Spitznamen.
Sie haben nicht die erforderliche Berechtigung zum Posten.
Philipp Haller  
Profil anzeigen   Übersetzen in die Sprache: Übersetzt (Original anzeigen)
 Weitere Optionen 22 Nov. 2012, 03:14
Von: Philipp Haller <hall...@gmail.com>
Datum: Thu, 22 Nov 2012 09:14:01 +0100
Lokal: Do 22 Nov. 2012 03:14
Betreff: Re: [scala-language] Scala 2.10.0 RC2

On Nov 13, 2012, at 7:56 PM, Blair Zajac wrote:

> I published Scala Migrations for 2.10.0-RC2 with a coding change to avoid [1].  Use

> "com.imageworks.scala-migrations" %% "scala-migrations" % "1.0.3"

> How does one get pre-notified of a new RC release to build ones packages to be included in the next announcement email?  A description to use for the next announcement: "Database migrations written in a Scala DSL."

See Adriaan's email yesterday on scala-internals about RC3 being staged.

Cheers,
Philipp


 
Sie müssen sich anmelden, bevor Sie Nachrichten veröffentlichen können.
Bevor Sie eine Nachricht posten können, müssen Sie zunächst dieser Gruppe beitreten.
Bitte aktualisieren Sie vor dem Posten in den Abonnementeinstellungen Ihren Spitznamen.
Sie haben nicht die erforderliche Berechtigung zum Posten.
Ende der Nachrichten
« Zurück zu Diskussionen « Neueres Thema     Älteres Thema »