Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Type ThreadContext.key: client and server are keywords #55

Closed
cedricss opened this Issue May 19, 2012 · 0 comments

Comments

Projects
None yet
2 participants
Contributor

cedricss commented May 19, 2012

type ThreadContext.key =
{ ThreadContext.server server }
or { ThreadContext.client client }
or { nothing }

But "client" and "server" are now keywords in the js-like syntax

Current workaround, use of :

match(ThreadContext.get({current}).key){
    case ~{`client`}: ...
    default: ...
}

@ghost ghost self-assigned this May 19, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment