Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

"foo['batz']! someArgs" results in Error #34

Open
benekastah opened this Issue · 2 comments

2 participants

@benekastah

Async function calls don't respect functions accessed from an object with the bracket syntax. The specific error is: Error: Unexpected token: operator (!)

@weepy
Owner
@benekastah

The code

method = :get
server[method]! route
doStuff()

generates an error. I would expect it to do this:

method = 'get'
server[method](route, function() {
doStuff()
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.