Skip to content
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

Two compilation errors when using Scala 2.10.4 #20

Closed
deanwampler opened this issue Feb 22, 2015 · 3 comments
Closed

Two compilation errors when using Scala 2.10.4 #20

deanwampler opened this issue Feb 22, 2015 · 3 comments

Comments

@deanwampler
Copy link

Attempting to build with 2.10.4 (for use with Spark projects):

[info] Compiling 11 Scala sources to /Users/deanwampler/projects/scala/Ammonite/core/target/scala-2.10/classes...
[error] /Users/deanwampler/projects/scala/Ammonite/core/src/main/scala/ammonite/pprint/PPrint.scala:219: object blackbox is not a member of package scala.reflect.macros
[error]     def FinalRepr[T: c.WeakTypeTag](c: scala.reflect.macros.blackbox.Context) = c.Expr[PPrint[T]] {
[error]                                                             ^
[error] /Users/deanwampler/projects/scala/Ammonite/core/src/main/scala/ammonite/ops/Tools.scala:19: value quote is not a member of object scala.util.matching.Regex
[error]       Regex.apply(scala.util.matching.Regex.quote(t).r, s)
[error]                                             ^
[error] two errors found

Once fixed, would it be possible to publish 2.10 artifacts?

@lihaoyi
Copy link
Member

lihaoyi commented Feb 22, 2015

Sure! Want to send a PR? The second should be a pretty straightforward replacement, while the first may need some mucking around with macros to make it work

@deanwampler
Copy link
Author

I'll try!

@lihaoyi
Copy link
Member

lihaoyi commented Mar 11, 2015

@deanwampler Thanks to @alexarchambault 2.10 has been supported in the latest version 0.2.6 and we'll try to maintain it going forward

@lihaoyi lihaoyi closed this as completed Mar 11, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants