ClassTypeVar "does not have an indexer" error #701
Unanswered
morgoth990
asked this question in
Q&A
Replies: 1 comment 1 reply
-
I have changed the type into a Sealed TableTypeVar with a name and is working fine |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Passing a variable of a type defined as ClassTypeVar into pairs() will trigger an error: "TYPE does not have and indexer"
Tracking the error inside Unifier::tryUnifyWithClass() seems that iis triggered f the table have and indexer:
Is that correct?
By the way, some lines before there is a TODO stating;
* TODO: What does it mean for the table to have an indexer? (probably failure?)
Beta Was this translation helpful? Give feedback.
All reactions