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

Google Guava wildcard import blows up #213

Closed
lihaoyi opened this issue Sep 7, 2015 · 3 comments
Closed

Google Guava wildcard import blows up #213

lihaoyi opened this issue Sep 7, 2015 · 3 comments

Comments

@lihaoyi
Copy link
Member

@lihaoyi lihaoyi commented Sep 7, 2015

haoyi-mbp:Ammonite haoyi$ ~/amm
Loading...
Welcome to the Ammonite Repl 0.4.7
(Scala 2.11.7 Java 1.8.0_25)
haoyi-Ammonite@ load.ivy("com.google.guava" % "guava" % "18.0")

haoyi-Ammonite@ import com.google.common.collect._
import com.google.common.collect._
haoyi-Ammonite@ 123
Compilation Failed
Main.scala:118: object package-info is not a member of package com.google.common.collect
import com.google.common.collect.{
       ^
@lihaoyi
Copy link
Member Author

@lihaoyi lihaoyi commented Sep 7, 2015

Joda doesn't like it either

haoyi-mbp:Ammonite haoyi$ ~/amm
Loading...
Welcome to the Ammonite Repl 0.4.7
(Scala 2.11.7 Java 1.8.0_25)
haoyi-Ammonite@ load.ivy("joda-time" % "joda-time" % "2.8.2")
import
haoyi-Ammonite@ import org.joda.time._
import org.joda.time._
haoyi-Ammonite@ 123
Compilation Failed
Main.scala:119: object class-use is not a member of package org.joda.time
import org.joda.time.{
       ^
haoyi-Ammonite@
@dchesterman
Copy link

@dchesterman dchesterman commented Oct 14, 2015

+1

@thurstonsand
Copy link

@thurstonsand thurstonsand commented Nov 9, 2015

it appears to do this with any java library

@lihaoyi lihaoyi closed this in 69ef292 Nov 16, 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
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants