Skip to content

Unresolved symbols: anonymous class coroutines.Coroutine[T] {...}(line 140 #3

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

Closed
SimonCommits opened this issue Mar 16, 2020 · 1 comment

Comments

@SimonCommits
Copy link
Owner

SimonCommits commented Mar 16, 2020

Dear Fengyun,

I followed your advice and used if/else if and also tried to inline extracted anonymous functions in
the continue method implementation of the Coroutine class implementation.

Now I face an error saying the Coroutine[T] symbol cannot be resolved. Do you have any idea how I could debug this?

[error] ## Exception when compiling 3 sources to /home/snif/hackerspace/semester/library/target/scala-0.22/classes
[error] java.lang.AssertionError: assertion failed: unresolved symbols: anonymous class coroutines.Coroutine[T] {...}(line 140) when picklin
g /home/snif/hackerspace/semester/library/src/main/scala/Macros.scala
[error] dotty.DottyPredef$.assertFail(DottyPredef.scala:17)
[error] dotty.tools.dotc.core.tasty.TreePickler.pickle(TreePickler.scala:715)
[error] dotty.tools.dotc.core.quoted.PickledQuotes$.pickle(PickledQuotes.scala:102)
@SimonCommits
Copy link
Owner Author

found a workaround thanks to Fengyun c.f. scala/scala3#8651 (comment)

This was solved in commit 9b9c995

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

1 participant