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

Package level functions can not be used #13

Closed
holgerbrandl opened this issue Nov 17, 2017 · 3 comments
Closed

Package level functions can not be used #13

holgerbrandl opened this issue Nov 17, 2017 · 3 comments

Comments

@holgerbrandl
Copy link
Contributor

Example (from a a file src/main/kotlin/de/mpicbg/scicomp/kip/Util.kt and pulled into the jupyter repl using @DependsOnMaven):

fun hello() = println("hello from in here")

It does not seem possible to do wildcard import for it, not to call it directly:
image

@apatrida
Copy link
Contributor

This is likely an outdated problem that is fixed in later Kotlin resolvers. And update to current dependencies might fix this, so let's recheck after that.

@holgerbrandl
Copy link
Contributor Author

Sounds great to me. Looking forward to the updated release!

@holgerbrandl
Copy link
Contributor Author

I've tested against current master, with

@file:DependsOnMaven("de.mpicbg.scicomp:krangl:0.7")

import krangl.*

irisData.glimpse()

and in deed the bug is fixed now. Thanks!

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