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

named imports cannot follow wildcard imports #1130

Open
s-bernard opened this issue May 31, 2023 · 1 comment
Open

named imports cannot follow wildcard imports #1130

s-bernard opened this issue May 31, 2023 · 1 comment

Comments

@s-bernard
Copy link

When I do

interp.load.ivy("org.scalanlp" %% "breeze" % "2.1.0")
import breeze.linalg.*
csvread(java.io.File("test"))

I get

-- Error: cmd4.sc:131:2 --------------------------------------------------------
131 |  eig,
    |  ^^^
    |  named imports cannot follow wildcard imports-- Error: cmd4.sc:132:2 --------------------------------------------------------
132 |  csvwrite,
    |  ^^^^^^^^
    |  named imports cannot follow wildcard imports-- Error: cmd4.sc:133:2 --------------------------------------------------------
133 |  all,
    |  ^^^
    |  named imports cannot follow wildcard imports-- Error: cmd4.sc:134:2 --------------------------------------------------------
...

It works as expected when I change the import to breeze.linalg.csvread.

Almond: 0.13.14 for Scala 3.2.2

@coreyoconnor
Copy link
Contributor

I am unable to reproduce. Using almond 0.14.0-RC7 and Scala 3.3.0.

image

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