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

Isolated examples outdated #801

Closed
mihails-strasuns opened this Issue Sep 2, 2014 · 0 comments

Comments

Projects
None yet
1 participant
@mihails-strasuns
Contributor

mihails-strasuns commented Sep 2, 2014

Those still refer to spawn function. Trying to use runTask instead results in CT error:

../../../../.dub/packages/vibe-d-0.7.21-alpha.4/source/vibe/core/core.d(469): Error: struct std.typecons.Tuple!(IsolatedRef!(Item)).Tuple is not copyable because it is annotated with @disable
../../../../.dub/packages/vibe-d-0.7.21-alpha.4/source/vibe/core/core.d(477): Error: struct vibe.core.concurrency.IsolatedRef!(Item).IsolatedRef is not copyable because it is annotated with @disable
/usr/include/dlang/dmd/std/typecons.d(451): Error: struct vibe.core.concurrency.IsolatedRef!(Item).IsolatedRef is not copyable because it is annotated with @disable
../../../../.dub/packages/vibe-d-0.7.21-alpha.4/source/vibe/core/core.d(483): Error: template instance std.typecons.tuple!(IsolatedRef!(Item)) error instantiating
../../../../.dub/packages/vibe-d-0.7.21-alpha.4/source/vibe/core/core.d(172):        instantiated from here: makeTaskFuncInfo!(void delegate(IsolatedRef!(Item)), IsolatedRef!(Item))
source/app.d(22):        instantiated from here: runTask!(IsolatedRef!(Item))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment