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

Comments

Projects
None yet
3 participants
@lihaoyi
Owner

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

This comment has been minimized.

Owner

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

This comment has been minimized.

dchesterman commented Oct 14, 2015

+1

@thurstonsand

This comment has been minimized.

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