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

value draw is not a member of Image #4

Closed
tuzonghua opened this issue Jan 16, 2022 · 2 comments
Closed

value draw is not a member of Image #4

tuzonghua opened this issue Jan 16, 2022 · 2 comments

Comments

@tuzonghua
Copy link

I'm getting this output when trying to run the example:

$ sbt
[info] welcome to sbt 1.6.1 (Ubuntu Java 11.0.13)
[info] loading project definition from /home/mdoo/src/creative-scala-template/project
[info] loading settings for project creative-scala-template from build.sbt ...
[info] set current project to creative-scala-template (in build file:/home/mdoo/src/creative-scala-template/)
[info] sbt server started at local:///home/mdoo/.sbt/1.0/server/c897afd13b7359922487/sock
[info] started sbt server
sbt:creative-scala-template> console
[info] Starting scala interpreter...
Welcome to Scala 2.13.7 (OpenJDK 64-Bit Server VM, Java 11.0.13).
Type in expressions for evaluation. Or try :help.
import doodle.core._
import doodle.image._
import doodle.image.syntax._
import doodle.image.syntax.core._
import doodle.java2d._

scala> Image.circle(10).draw()
                        ^
       error: value draw is not a member of doodle.image.Image

scala>

Could this be related to #3?

@noelwelsh
Copy link

noelwelsh commented Jan 17, 2022

I guess it is related to the syntax import, which you sent a PR for. Is it working for you now you've updated the imports?

@tuzonghua
Copy link
Author

Yep, closing.

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