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

Ambiguous use of subscript "result" #1

Open
ckriste opened this issue Apr 8, 2016 · 0 comments
Open

Ambiguous use of subscript "result" #1

ckriste opened this issue Apr 8, 2016 · 0 comments

Comments

@ckriste
Copy link

ckriste commented Apr 8, 2016

`if let result = object {
PFUser.currentUser()?["name"] = result["name"]
PFUser.currentUser()?["email"] = result["email"]
PFUser.currentUser()?["gender"] = result["gender"]

                PFUser.currentUser()?.saveInBackground()

                let userId = result["id"] as! String
                self.saveUserImageInBackground(userId)
            }

`

all uses of result here are ambiguous uses of a subscript. You have to tell the compiler what the intermediary object. Will Update if I get fixed

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