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

ArrayAccess type checking is too strict #740

Closed
nddrylliog opened this issue Nov 29, 2013 · 1 comment
Closed

ArrayAccess type checking is too strict #740

nddrylliog opened this issue Nov 29, 2013 · 1 comment
Assignees
Milestone

Comments

@nddrylliog
Copy link
Member

Esp. if one has operator overloads like:

operator [] (obj: SomeType, s: String) -> String { obj get(s) }

Then it'll complain that obj["something"] is trying to create an array with a non-numeric index.

@ghost ghost assigned nddrylliog Nov 29, 2013
@nddrylliog
Copy link
Member Author

Closed in 99x.

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

No branches or pull requests

1 participant