-
Notifications
You must be signed in to change notification settings - Fork 59
regression: scala/scala fails to extract after scala-parser-combinators added Scala.js support #215
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
hmm, adding
changes the error to reference |
dbuild does nothing involving it's normal in scala modules for normally in any sbt build if you don't set |
having scalaVersion and crossScalaVersions set in different places was confusing dbuild needed to fix scala/community-build#215
having scalaVersion and crossScalaVersions set in different places was confusing dbuild needed to fix scala/community-build#215
having scalaVersion and crossScalaVersions set in different places was confusing dbuild needed to fix scala/community-build#215 (cherry picked from commit bde222c)
having scalaVersion and crossScalaVersions set in different places was confusing dbuild needed to fix scala/community-build#215 (cherry picked from commit bde222c)
This commit backports the commit below, with two caveats: - the fix in scala#68 doesn't work with Scala.js, so it is only enabled on the JVM for now - the scalaVersion/crossScalaVersion madness breaks the sbt build in 1.0.x (it didn't in master for some reason), so the second backport commit below had to be squashed with this one [backport] Add support for Scala.js, with cross-compilation. Scala versions were upgraded to 2.11.7 and 2.12.0-M3. 2.12 is only used when running the build on JDK8 or later. JavaTokenParsers.identifier was rewritten not to use a regexp, but rather primitive parsers and Character.isJavaIdentifier{Start,Part}. The regexp-based implementation relies on Java-specific character ranges. JavaTokenParsers.stringLiteral was slightly adapted with an expansion of `\p{Cntrl}` into `[\x00-\x1F\x7F]`. The former character range is Java-specific. We also removed an invalid (and useless) `+` at the end of the regexp. The test t4929.scala is JVM-only. (Author: Sébastien Doeraene <[email protected]>) (cherry picked from commit 98737a2) --- [backport] set Scala version in a more dbuild-friendly way having scalaVersion and crossScalaVersions set in different places was confusing dbuild needed to fix scala/community-build#215 (Author: Seth Tisue <[email protected]>) (cherry picked from commit bde222c)
This commit backports the commit below, with two caveats: - the fix in scala#68 doesn't work with Scala.js, so it is only enabled on the JVM for now - the scalaVersion/crossScalaVersion madness breaks the sbt build in 1.0.x (it didn't in master for some reason), so the second backport commit below had to be squashed with this one [backport] Add support for Scala.js, with cross-compilation. Scala versions were upgraded to 2.11.7 and 2.12.0-M3. 2.12 is only used when running the build on JDK8 or later. JavaTokenParsers.identifier was rewritten not to use a regexp, but rather primitive parsers and Character.isJavaIdentifier{Start,Part}. The regexp-based implementation relies on Java-specific character ranges. JavaTokenParsers.stringLiteral was slightly adapted with an expansion of `\p{Cntrl}` into `[\x00-\x1F\x7F]`. The former character range is Java-specific. We also removed an invalid (and useless) `+` at the end of the regexp. The test t4929.scala is JVM-only. (Author: Sébastien Doeraene <[email protected]>) (cherry picked from commit 98737a2) --- [backport] set Scala version in a more dbuild-friendly way having scalaVersion and crossScalaVersions set in different places was confusing dbuild needed to fix scala/community-build#215 (Author: Seth Tisue <[email protected]>) (cherry picked from commit bde222c)
so at e.g. https://scala-ci.typesafe.com/job/scala-2.11.x-integrate-community-build/222/console we see
The text was updated successfully, but these errors were encountered: